We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363af47 commit a3658c9Copy full SHA for a3658c9
src/Illuminate/Support/Testing/Fakes/MailFake.php
@@ -80,6 +80,19 @@ protected function assertSentTimes($mailable, $times = 1)
80
);
81
}
82
83
+ /**
84
+ * Determine if a mailable was not sent or queued to be sent based on a truth-test callback.
85
+ *
86
+ * @param string|\Closure $mailable
87
+ * @param callable|null $callback
88
+ * @return void
89
+ */
90
+ public function assertNotOutgoing($mailable, $callback = null)
91
+ {
92
+ $this->assertNotSent($mailable, $callback);
93
+ $this->assertNotQueued($mailable, $callback);
94
+ }
95
+
96
/**
97
* Determine if a mailable was not sent based on a truth-test callback.
98
*
0 commit comments