Skip to content

Commit ca7126e

Browse files
Merge pull request #24929 from morrislaptop/patch-1
[5.6] Fix messaging for assertSentToTimes in NotificationFake
2 parents 66f2617 + fabe77c commit ca7126e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Testing/Fakes/NotificationFake.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function assertSentToTimes($notifiable, $notification, $times = 1)
5757
{
5858
PHPUnit::assertTrue(
5959
($count = $this->sent($notifiable, $notification)->count()) === $times,
60-
"Expected [{$notification}] to be sent {$count} times, but was sent {$times} times."
60+
"Expected [{$notification}] to be sent {$times} times, but was sent {$count} times."
6161
);
6262
}
6363

0 commit comments

Comments
 (0)