Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-20 14:55:48 +0300
committerJoas Schilling <coding@schilljs.com>2017-01-20 14:55:48 +0300
commita113f951d616392661f7bb3ae9132a50eedf9ce3 (patch)
treeeab05ebf5ecb08ae7ec0008c8c41d0b70821124c /tests/lib/Mail
parent12e3b357d43d3ee51dd63ea15ded5ec8b20b06ff (diff)
Adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Mail')
-rw-r--r--tests/lib/Mail/MailerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php
index c63ceb5982a..7a7ce0392e9 100644
--- a/tests/lib/Mail/MailerTest.php
+++ b/tests/lib/Mail/MailerTest.php
@@ -44,7 +44,7 @@ class MailerTest extends TestCase {
$this->config
->expects($this->once())
->method('getSystemValue')
- ->with('mail_smtpmode', 'sendmail')
+ ->with('mail_smtpmode', 'php')
->will($this->returnValue('sendmail'));
$this->assertEquals(\Swift_SendmailTransport::newInstance('/usr/sbin/sendmail -bs'), self::invokePrivate($this->mailer, 'getSendMailInstance'));
@@ -54,7 +54,7 @@ class MailerTest extends TestCase {
$this->config
->expects($this->once())
->method('getSystemValue')
- ->with('mail_smtpmode', 'sendmail')
+ ->with('mail_smtpmode', 'php')
->will($this->returnValue('qmail'));
$this->assertEquals(\Swift_SendmailTransport::newInstance('/var/qmail/bin/sendmail -bs'), self::invokePrivate($this->mailer, 'getSendMailInstance'));