Skip to content

Commit 363af47

Browse files
committed
assertNothingOutgoing
1 parent 7bd68fa commit 363af47

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ public function assertNotSent($mailable, $callback = null)
9797
);
9898
}
9999

100+
/**
101+
* Assert that no mailables were sent or queued to be sent.
102+
*
103+
* @return void
104+
*/
105+
public function assertNothingOutgoing()
106+
{
107+
$this->assertNothingSent();
108+
$this->assertNothingQueued();
109+
}
110+
100111
/**
101112
* Assert that no mailables were sent.
102113
*

0 commit comments

Comments
 (0)