summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-09 14:38:34 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-04 08:28:33 +0200
commit0cf0bcba616811248e051a469360055845daed18 (patch)
tree026efc13591bf6cdaa4ccbbbef246282decf8e8a /tests
parentbe7db1573dc8c6e7309ec9db124a7a74b8b41199 (diff)
downloadnextcloud-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.php4
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,