File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,15 @@ public function it_can_send_a_message_to_pushover(): void
4747 {
4848 $ notifiable = new Notifiable ;
4949
50- $ this ->notification ->shouldReceive ('toPushover ' )
50+ $ this ->notification
51+ ->shouldReceive ('toPushover ' )
5152 ->with ($ notifiable )
5253 ->andReturn ($ this ->message );
5354
54- $ this ->pushover ->shouldReceive ('send ' )
55+ $ this ->pushover
56+ ->shouldReceive ('send ' )
5557 ->with (Mockery::subset ([
5658 'user ' => 'pushover-key-30characters-long ' ,
57- 'device ' => '' ,
5859 ]), $ notifiable )
5960 ->once ();
6061
@@ -66,11 +67,13 @@ public function it_can_send_a_message_to_pushover_using_a_pushover_receiver(): v
6667 {
6768 $ notifiable = new NotifiableWithPushoverReceiver ;
6869
69- $ this ->notification ->shouldReceive ('toPushover ' )
70+ $ this ->notification
71+ ->shouldReceive ('toPushover ' )
7072 ->with ($ notifiable )
7173 ->andReturn ($ this ->message );
7274
73- $ this ->pushover ->shouldReceive ('send ' )
75+ $ this ->pushover
76+ ->shouldReceive ('send ' )
7477 ->with (Mockery::subset ([
7578 'user ' => 'pushover-key-30characters-long ' ,
7679 'device ' => 'iphone,desktop ' ,
You can’t perform that action at this time.
0 commit comments