diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Mail/MailerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php index 8c309335ab8..1913cc1176c 100644 --- a/tests/lib/Mail/MailerTest.php +++ b/tests/lib/Mail/MailerTest.php @@ -172,7 +172,7 @@ class MailerTest extends TestCase { $this->config->method('getSystemValue') ->will($this->returnValueMap([ ['mail_smtpmode', 'smtp', 'smtp'], - ['mail_smtpstreamoptions', array(), array('foo' => 1)] + ['mail_smtpstreamoptions', [], ['foo' => 1]] ])); $mailer = self::invokePrivate($this->mailer, 'getInstance'); $this->assertEquals(1, count($mailer->getTransport()->getStreamOptions())); @@ -184,7 +184,7 @@ class MailerTest extends TestCase { $this->config->method('getSystemValue') ->will($this->returnValueMap([ ['mail_smtpmode', 'smtp', 'smtp'], - ['mail_smtpstreamoptions', array(), 'bar'] + ['mail_smtpstreamoptions', [], 'bar'] ])); $mailer = self::invokePrivate($this->mailer, 'getInstance'); $this->assertEquals(0, count($mailer->getTransport()->getStreamOptions())); |