From dec32a0afa196e983a2d942147a19d10cc12ac15 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Sun, 1 Jul 2018 06:14:38 +0800 Subject: Update# test --- tests/integration/controller/RegisterControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3