diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-09 14:38:34 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-07-04 08:28:33 +0200 |
commit | 0cf0bcba616811248e051a469360055845daed18 (patch) | |
tree | 026efc13591bf6cdaa4ccbbbef246282decf8e8a /tests | |
parent | be7db1573dc8c6e7309ec9db124a7a74b8b41199 (diff) | |
download | nextcloud-server-0cf0bcba616811248e051a469360055845daed18.tar.gz nextcloud-server-0cf0bcba616811248e051a469360055845daed18.zip |
Fix settings tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Settings/Admin/MailTest.php | 4 |
1 files 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, |