diff --git a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php index 815aefd597ab..2b00ed730d98 100644 --- a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php +++ b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php @@ -23,7 +23,7 @@ class NotificationFake implements NotificationFactory * @param callable|null $callback * @return void */ - public function assertSent($notifiable, $notification, $callback = null) + public function assertSentTo($notifiable, $notification, $callback = null) { PHPUnit::assertTrue( $this->sent($notifiable, $notification, $callback)->count() > 0, @@ -39,7 +39,7 @@ public function assertSent($notifiable, $notification, $callback = null) * @param callable|null $callback * @return void */ - public function assertNotSent($notifiable, $notification, $callback = null) + public function assertNotSentTo($notifiable, $notification, $callback = null) { PHPUnit::assertTrue( $this->sent($notifiable, $notification, $callback)->count() === 0,