Skip to content

Commit

Permalink
Fix messaging for assertSentToTimes in NotificationFake
Browse files Browse the repository at this point in the history
  • Loading branch information
morrislaptop committed Jul 22, 2018
1 parent 66f2617 commit fabe77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Testing/Fakes/NotificationFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function assertSentToTimes($notifiable, $notification, $times = 1)
{
PHPUnit::assertTrue(
($count = $this->sent($notifiable, $notification)->count()) === $times,
"Expected [{$notification}] to be sent {$count} times, but was sent {$times} times."
"Expected [{$notification}] to be sent {$times} times, but was sent {$count} times."
);
}

Expand Down

0 comments on commit fabe77c

Please sign in to comment.