diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-11-28 20:06:48 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2018-11-29 16:44:36 +0000 |
commit | cbff5fabe7c888da54e4ef536aa46db924896756 (patch) | |
tree | c02eab88ebd8f3018e4e2faf95b4179f3fd89a5e /tests/lib/Settings/Admin | |
parent | 4991dfbb14bc6d3ac2e6bd94ac62c4c1d4a0c782 (diff) | |
download | nextcloud-server-cbff5fabe7c888da54e4ef536aa46db924896756.tar.gz nextcloud-server-cbff5fabe7c888da54e4ef536aa46db924896756.zip |
Add testcases for pipe mode
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/lib/Settings/Admin')
-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', ], '' ); |