Skip to content

Commit

Permalink
Merge pull request #24929 from morrislaptop/patch-1
Browse files Browse the repository at this point in the history
[5.6] Fix messaging for assertSentToTimes in NotificationFake
  • Loading branch information
GrahamCampbell committed Jul 22, 2018
2 parents 66f2617 + fabe77c commit ca7126e
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 ca7126e

Please sign in to comment.