diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-14 17:56:36 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-14 17:56:36 +0300 |
commit | fc0d42f30d0e85af288385c356ec52026dcb45ba (patch) | |
tree | 630c783a2d60e82924ccc63dc6268ee15dfec913 /tests | |
parent | 2d71c46cad518338d8adc365346ac22bd24cbbeb (diff) |
Make MailService strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Integration/Controller/RegisterControllerTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Integration/Controller/RegisterControllerTest.php b/tests/Integration/Controller/RegisterControllerTest.php index bde08b5..7475f67 100644 --- a/tests/Integration/Controller/RegisterControllerTest.php +++ b/tests/Integration/Controller/RegisterControllerTest.php @@ -121,8 +121,7 @@ class RegisterControllerTest extends TestCase { ->with("registration", 'allowed_domains', '') ->willReturn(''); $this->mailService->expects($this->once()) - ->method('sendTokenByMail') - ->willReturn(true); + ->method('sendTokenByMail'); $this->assertEquals($this->registrationService->validateEmail($email), true); |