Skip to content

Commit 1b2e545

Browse files
committed
Added a String message test
1 parent 927bd5b commit 1b2e545

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/MessagebirdChannelTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public function test_it_shares_message()
4141
$this->client->shouldReceive('send')->once();
4242
$this->channel->send($this->notifiable, $this->notification);
4343
}
44+
45+
/** @test */
46+
public function if_string_message_can_be_send()
47+
{
48+
$this->client->shouldReceive('send')->once();
49+
$this->channel->send('Test by string', $this->notification);
50+
}
4451
}
4552

4653
class TestNotifiable

0 commit comments

Comments
 (0)