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
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2018-07-01 01:14:38 +0300
committerPellaeon Lin <nfsmwlin@gmail.com>2018-07-01 01:14:38 +0300
commitdec32a0afa196e983a2d942147a19d10cc12ac15 (patch)
tree637d20aedee43de5bd6e9833d1bbc5cd664c5e06
parent3e9f594163f948680f50002b3c182f170e06864b (diff)
Update# test
-rw-r--r--tests/integration/controller/RegisterControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/controller/RegisterControllerTest.php b/tests/integration/controller/RegisterControllerTest.php
index 042fb95..c5290bf 100644
--- a/tests/integration/controller/RegisterControllerTest.php
+++ b/tests/integration/controller/RegisterControllerTest.php
@@ -126,7 +126,7 @@ class RegistrationControllerTest extends TestCase {
->method('getAppValue')
->with("registration", 'allowed_domains', '')
->willReturn('');
- $this->mailService->expects($this->at(0))
+ $this->mailService->expects($this->once())
->method('sendTokenByMail')
->willReturn(true);