Skip to content

Commit 20bfb7f

Browse files
committed
ICL: Assert renamed.
1 parent 725c0af commit 20bfb7f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/Loggable/Notifications/EmailChannel/EmailChannelTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function it_uses_configured_monolog_swift_mailer_handler_on_mail_driver()
2525
config(['mail.driver' => 'mail']);
2626
$handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->mailerHandler();
2727

28-
$this->assertMailerHandlersAreEqual($this->composeSwiftMailerHandler(), $handler);
28+
$this->assertMailerHandlersEqual($this->composeSwiftMailerHandler(), $handler);
2929
}
3030

3131
/** @test */
@@ -34,7 +34,7 @@ public function it_uses_configured_monolog_swift_mailer_handler_on_smtp_driver()
3434
config(['mail.driver' => 'smtp']);
3535
$handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->mailerHandler();
3636

37-
$this->assertMailerHandlersAreEqual($this->composeSwiftMailerHandler(), $handler);
37+
$this->assertMailerHandlersEqual($this->composeSwiftMailerHandler(), $handler);
3838
}
3939

4040
/** @test */
@@ -43,7 +43,7 @@ public function it_uses_configured_monolog_swift_mailer_handler_on_sendmail_driv
4343
config(['mail.driver' => 'sendmail']);
4444
$handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->mailerHandler();
4545

46-
$this->assertMailerHandlersAreEqual($this->composeSwiftMailerHandler(), $handler);
46+
$this->assertMailerHandlersEqual($this->composeSwiftMailerHandler(), $handler);
4747
}
4848

4949
/** @test */
@@ -52,7 +52,7 @@ public function it_uses_configured_monolog_mandrill_mailer_handler_on_mandrill_d
5252
config(['mail.driver' => 'mandrill', 'services.mandrill.secret' => 'secret']);
5353
$handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->mailerHandler();
5454

55-
$this->assertMailerHandlersAreEqual($this->composeMandrillMailerHandler(), $handler);
55+
$this->assertMailerHandlersEqual($this->composeMandrillMailerHandler(), $handler);
5656
}
5757

5858
/** @test */
@@ -61,7 +61,7 @@ public function it_uses_configured_monolog_native_mailer_handler_on_other_driver
6161
config(['mail.driver' => 'any-other']);
6262
$handler = $this->runConsoleCommand(EmailNotificationsCommand::class)->mailerHandler();
6363

64-
$this->assertMailerHandlersAreEqual($this->composeNativeMailerHandler(), $handler);
64+
$this->assertMailerHandlersEqual($this->composeNativeMailerHandler(), $handler);
6565
}
6666

6767
/** @test */
@@ -71,7 +71,7 @@ public function it_uses_configured_monolog_deduplication_handler_if_deduplicatio
7171
$handler = $this->runConsoleCommand(EmailNotificationsDeduplicationCommand::class)->mailerHandler();
7272
$handler->flush();
7373

74-
$this->assertMailerHandlersAreEqual($this->composeDeduplicationHandler(), $handler);
74+
$this->assertMailerHandlersEqual($this->composeDeduplicationHandler(), $handler);
7575
}
7676

7777
private function composeSwiftMailerHandler()
@@ -135,7 +135,7 @@ private function composeMailerHandlerMessage()
135135
return $message;
136136
}
137137

138-
protected function assertMailerHandlersAreEqual($handler1, $handler2)
138+
protected function assertMailerHandlersEqual($handler1, $handler2)
139139
{
140140
$handler1 = $this->normalizeMailerHandlerDump(get_dump($handler1));
141141
$handler2 = $this->normalizeMailerHandlerDump(get_dump($handler2));

0 commit comments

Comments
 (0)