Skip to content

Commit

Permalink
assertNothingOutgoing
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 11, 2021
1 parent 7bd68fa commit 363af47
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Illuminate/Support/Testing/Fakes/MailFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ public function assertNotSent($mailable, $callback = null)
);
}

/**
* Assert that no mailables were sent or queued to be sent.
*
* @return void
*/
public function assertNothingOutgoing()
{
$this->assertNothingSent();
$this->assertNothingQueued();
}

/**
* Assert that no mailables were sent.
*
Expand Down

0 comments on commit 363af47

Please sign in to comment.