Skip to content

Commit

Permalink
Fix notification failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
casperboone committed Aug 25, 2016
1 parent b2b3098 commit d9443da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PushoverChannelTest.php
Expand Up @@ -63,7 +63,7 @@ public function it_fires_a_notification_failed_event_when_the_communication_with
{
$this->notification->shouldReceive('toPushover')->andReturn($this->message);
$this->pushover->shouldReceive('send')->andThrow(
ServiceCommunicationError::serviceCommunicationError(new Exception())
ServiceCommunicationError::communicationFailed(new Exception())
);

$this->events->shouldReceive('fire')->with(Mockery::type(NotificationFailed::class));
Expand Down

0 comments on commit d9443da

Please sign in to comment.