Skip to content

Commit

Permalink
Fix settings tests
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <[email protected]>
  • Loading branch information
rullzer committed Jun 26, 2018
1 parent 2a987e3 commit b70fd22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/Settings/Admin/MailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testGetForm() {
->expects($this->at(2))
->method('getSystemValue')
->with('mail_smtpmode', '')
->willReturn('php');
->willReturn('smtp');
$this->config
->expects($this->at(3))
->method('getSystemValue')
Expand Down Expand Up @@ -103,7 +103,7 @@ public function testGetForm() {
'sendmail_is_available' => (bool) \OC_Helper::findBinaryPath('sendmail'),
'mail_domain' => 'mx.nextcloud.com',
'mail_from_address' => '[email protected]',
'mail_smtpmode' => 'php',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => true,
'mail_smtphost' => 'smtp.nextcloud.com',
'mail_smtpport' => 25,
Expand Down

0 comments on commit b70fd22

Please sign in to comment.