Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 9, 2016
1 parent a114bc6 commit 69b08f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Support/Testing/Fakes/NotificationFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 69b08f6

Please sign in to comment.