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 5bea753 commit 1eb3e30Copy full SHA for 1eb3e30
tests/Loggable/Notifications/EmailChannel/EmailChannelTest.php
@@ -19,6 +19,16 @@ public function it_validates_and_filters_notification_recipients()
19
$this->assertNotInstanceOf(SwiftMailerHandler::class, $handler);
20
}
21
22
+ /** @test */
23
+ public function it_is_disabled_on_null_driver()
24
+ {
25
+ config(['mail.driver' => 'null']);
26
+
27
+ $handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->createEmailChannelHandler();
28
29
+ $this->assertFalse($handler);
30
+ }
31
32
/** @test */
33
public function it_uses_configured_monolog_swift_mailer_handler_on_mail_driver()
34
{
0 commit comments