Test/Adapter/DatabaseMessageAdapterTest.php 1 location
|
@@ 26-34 (lines=9) @@
|
| 23 |
|
$this->adapter->setChannelName('database'); |
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
public function testFormat() |
| 27 |
|
{ |
| 28 |
|
$message = $this->adapter->format($this->notification); |
| 29 |
|
|
| 30 |
|
$this->assertValidDispatchData($message); |
| 31 |
|
$this->assertMessageDataStructure($message); |
| 32 |
|
|
| 33 |
|
$this->assertBasicMessageData($message); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function testFormatWithTwig() |
| 37 |
|
{ |
Test/Adapter/MailMessageAdapterTest.php 1 location
|
@@ 24-32 (lines=9) @@
|
| 21 |
|
$this->adapter->setChannelName('mail'); |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
public function testFormat() |
| 25 |
|
{ |
| 26 |
|
$message = $this->adapter->format($this->notification); |
| 27 |
|
|
| 28 |
|
$this->assertValidDispatchData($message); |
| 29 |
|
$this->assertMessageDataStructure($message); |
| 30 |
|
|
| 31 |
|
$this->assertBasicMessageData($message); |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
public function testFormatWithTwig() |
| 35 |
|
{ |
Test/Adapter/NexmoMessageAdapterTest.php 1 location
|
@@ 19-27 (lines=9) @@
|
| 16 |
|
$this->adapter->setChannelName('nexmo'); |
| 17 |
|
} |
| 18 |
|
|
| 19 |
|
public function testFormat() |
| 20 |
|
{ |
| 21 |
|
$message = $this->adapter->format($this->notification); |
| 22 |
|
|
| 23 |
|
$this->assertValidDispatchData($message); |
| 24 |
|
$this->assertMessageDataStructure($message); |
| 25 |
|
|
| 26 |
|
$this->assertBasicMessageData($message); |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
public function testFormatWithTwig() |
| 30 |
|
{ |
Test/Adapter/PusherMessageAdapterTest.php 1 location
|
@@ 24-32 (lines=9) @@
|
| 21 |
|
$this->adapter->setChannelName('pusher'); |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
public function testFormat() |
| 25 |
|
{ |
| 26 |
|
$message = $this->adapter->format($this->notification); |
| 27 |
|
|
| 28 |
|
$this->assertValidDispatchData($message); |
| 29 |
|
$this->assertMessageDataStructure($message); |
| 30 |
|
|
| 31 |
|
$this->assertBasicMessageData($message); |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
public function testFormatWithTwig() |
| 35 |
|
{ |
Test/Adapter/SlackWebhookAdapterTest.php 1 location
|
@@ 18-26 (lines=9) @@
|
| 15 |
|
$this->adapter->setChannelName('slack'); |
| 16 |
|
} |
| 17 |
|
|
| 18 |
|
public function testFormat() |
| 19 |
|
{ |
| 20 |
|
$message = $this->adapter->format($this->notification); |
| 21 |
|
|
| 22 |
|
$this->assertValidDispatchData($message); |
| 23 |
|
$this->assertMessageDataStructure($message); |
| 24 |
|
|
| 25 |
|
$this->assertBasicMessageData($message); |
| 26 |
|
} |
| 27 |
|
|
| 28 |
|
public function testFormatWithTwig() |
| 29 |
|
{ |