diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 15:28:50 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 15:28:50 +0300 |
commit | 1ef9473347677d1de7f072e6c0bacbdbfdc622d3 (patch) | |
tree | 83f9024485024db1505a92566eac05ce3b92c36a /tests/Service | |
parent | fa402d715677459fe24e23bad09673c1f3f3507b (diff) |
Make OCA\Mail\Service\AutoConfig strict
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Service')
-rw-r--r-- | tests/Service/Autoconfig/SmtpServerDetectorTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Service/Autoconfig/SmtpServerDetectorTest.php b/tests/Service/Autoconfig/SmtpServerDetectorTest.php index 9c1fe6e1a..d4dd2a17e 100644 --- a/tests/Service/Autoconfig/SmtpServerDetectorTest.php +++ b/tests/Service/Autoconfig/SmtpServerDetectorTest.php @@ -59,7 +59,7 @@ class SmtpServerDetectorTest extends TestCase { $this->smtpConnectivityTester->expects($this->once()) ->method('test') ->with($this->equalTo($account), $this->equalTo('mx.domain.tld'), $this->equalTo(['user', 'user@domain.tld'])) - ->willReturn($this->createMock(MailAccount::class)); + ->willReturn(true); $result = $this->detector->detect($account, $email, $password); |