diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-11-28 20:06:48 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-11-29 16:02:37 +0100 |
commit | 4a2c56b71400de7a044e0a3c05a62ae34c4c4d69 (patch) | |
tree | 0a9dd0e3037f56955a94d0ab302a52f07b94434c /tests/lib/Settings | |
parent | 92675a606e90a57745ee1059e56d264a3213c954 (diff) | |
download | nextcloud-server-4a2c56b71400de7a044e0a3c05a62ae34c4c4d69.tar.gz nextcloud-server-4a2c56b71400de7a044e0a3c05a62ae34c4c4d69.zip |
Add testcases for pipe mode
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/lib/Settings')
-rw-r--r-- | tests/lib/Settings/Admin/MailTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Settings/Admin/MailTest.php b/tests/lib/Settings/Admin/MailTest.php index 436a7953220..1a1d090418e 100644 --- a/tests/lib/Settings/Admin/MailTest.php +++ b/tests/lib/Settings/Admin/MailTest.php @@ -95,6 +95,11 @@ class MailTest extends TestCase { ->method('getSystemValue') ->with('mail_smtppassword', '') ->willReturn('mypassword'); + $this->config + ->expects($this->at(10)) + ->method('getSystemValue') + ->with('mail_sendmailmode', 'smtp') + ->willReturn('smtp'); $expected = new TemplateResponse( 'settings', @@ -111,6 +116,7 @@ class MailTest extends TestCase { 'mail_smtpauth' => true, 'mail_smtpname' => 'smtp.sender.com', 'mail_smtppassword' => '********', + 'mail_sendmailmode' => 'smtp', ], '' ); |