diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-19 10:57:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-19 10:57:51 +0100 |
commit | 8e4f0f9d1734f15b28f10ce4b612b52b7621a3bc (patch) | |
tree | 00b5884cbeeb854e52527da0231379949574463b /tests/Settings | |
parent | 9561a7a1e2cacca3a1d2a775a2492d411fe02636 (diff) | |
download | nextcloud-server-8e4f0f9d1734f15b28f10ce4b612b52b7621a3bc.tar.gz nextcloud-server-8e4f0f9d1734f15b28f10ce4b612b52b7621a3bc.zip |
Use the proper default values
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Settings')
-rw-r--r-- | tests/Settings/Controller/CheckSetupControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php index 617685d6196..ff565f3734b 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -543,11 +543,11 @@ class CheckSetupControllerTest extends TestCase { $this->config->expects($this->at(0)) ->method('getSystemValue') - ->with('mail_smtpmode', null) + ->with('mail_smtpmode', 'smtp') ->will($this->returnValue('php')); $this->config->expects($this->at(1)) ->method('getSystemValue') - ->with('mail_smtpmode', null) + ->with('mail_smtpmode', 'smtp') ->will($this->returnValue('not-php')); $this->assertTrue($this->invokePrivate($checkSetupController, 'isPhpMailerUsed')); |