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/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/Settings')
-rw-r--r-- | tests/Settings/Controller/MailSettingsControllerTest.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/Settings/Controller/MailSettingsControllerTest.php b/tests/Settings/Controller/MailSettingsControllerTest.php index 79fe0683cc5..ed241ed0533 100644 --- a/tests/Settings/Controller/MailSettingsControllerTest.php +++ b/tests/Settings/Controller/MailSettingsControllerTest.php @@ -74,6 +74,7 @@ class MailSettingsControllerTest extends \Test\TestCase { 'mail_smtpauthtype' => 'NTLM', 'mail_smtpauth' => 1, 'mail_smtpport' => '25', + 'mail_sendmailmode' => null, ]], [[ 'mail_domain' => 'nextcloud.com', @@ -86,6 +87,7 @@ class MailSettingsControllerTest extends \Test\TestCase { 'mail_smtpport' => '25', 'mail_smtpname' => null, 'mail_smtppassword' => null, + 'mail_sendmailmode' => null, ]] ); @@ -98,7 +100,8 @@ class MailSettingsControllerTest extends \Test\TestCase { 'mx.nextcloud.org', 'NTLM', 1, - '25' + '25', + null ); $this->assertSame(Http::STATUS_OK, $response->getStatus()); @@ -111,7 +114,8 @@ class MailSettingsControllerTest extends \Test\TestCase { 'mx.nextcloud.org', 'NTLM', 0, - '25' + '25', + null ); $this->assertSame(Http::STATUS_OK, $response->getStatus()); |