Fix settings tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-06-09 14:38:34 +02:00
parent be7db1573d
commit 0cf0bcba61
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -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,