From fabe77c77fb1654b30fcfd7aa3915f32827b4633 Mon Sep 17 00:00:00 2001 From: Craig Morris Date: Sun, 22 Jul 2018 16:33:56 +0100 Subject: [PATCH] Fix messaging for assertSentToTimes in NotificationFake --- src/Illuminate/Support/Testing/Fakes/NotificationFake.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php index 1b14b4fa17ed..8093a4fb7968 100644 --- a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php +++ b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php @@ -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." ); }