From 0cf0bcba616811248e051a469360055845daed18 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sat, 9 Jun 2018 14:38:34 +0200 Subject: [PATCH] Fix settings tests Signed-off-by: Roeland Jago Douma --- tests/lib/Settings/Admin/MailTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/Settings/Admin/MailTest.php b/tests/lib/Settings/Admin/MailTest.php index 04c0e7fa92e..436a7953220 100644 --- a/tests/lib/Settings/Admin/MailTest.php +++ b/tests/lib/Settings/Admin/MailTest.php @@ -59,7 +59,7 @@ class MailTest extends TestCase { ->expects($this->at(2)) ->method('getSystemValue') ->with('mail_smtpmode', '') - ->willReturn('php'); + ->willReturn('smtp'); $this->config ->expects($this->at(3)) ->method('getSystemValue') @@ -103,7 +103,7 @@ class MailTest extends TestCase { 'sendmail_is_available' => (bool) \OC_Helper::findBinaryPath('sendmail'), 'mail_domain' => 'mx.nextcloud.com', 'mail_from_address' => 'no-reply@nextcloud.com', - 'mail_smtpmode' => 'php', + 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => true, 'mail_smtphost' => 'smtp.nextcloud.com', 'mail_smtpport' => 25,