Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-07-14 17:56:36 +0300
committerJoas Schilling <coding@schilljs.com>2020-07-14 17:56:36 +0300
commitfc0d42f30d0e85af288385c356ec52026dcb45ba (patch)
tree630c783a2d60e82924ccc63dc6268ee15dfec913 /tests
parent2d71c46cad518338d8adc365346ac22bd24cbbeb (diff)
Make MailService strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Integration/Controller/RegisterControllerTest.php3
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);