Browse Source

Fix test.

ADmad 2 years ago
parent
commit
1735dd1e1b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Mailer/Transport/SmtpTransportTest.php

+ 2 - 2
tests/TestCase/Mailer/Transport/SmtpTransportTest.php

@@ -387,9 +387,9 @@ class SmtpTransportTest extends TestCase
             ));
         $this->socket->expects($this->exactly(1))
             ->method('write')
-            ->withConsecutive(
+            ->with(...self::withConsecutive(
                 ["EHLO localhost\r\n"],
-            );
+            ));
 
         $this->SmtpTransport->connect();
         $this->assertNull($this->SmtpTransport->getAuthType());