From 05be19aa93c9f4b8fd94ad7b4b608b3ac8310580 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Sat, 30 Jun 2018 17:40:37 +0800 Subject: [PATCH] Update# use once() instead of at() --- tests/integration/service/RegistrationServiceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/service/RegistrationServiceTest.php b/tests/integration/service/RegistrationServiceTest.php index d9abe33..5e109f4 100644 --- a/tests/integration/service/RegistrationServiceTest.php +++ b/tests/integration/service/RegistrationServiceTest.php @@ -111,7 +111,7 @@ class RegistrationServiceTest extends TestCase { public function testValidateNewEmail() { $email = 'aaaa@example.com'; - $this->config->expects($this->at(0)) + $this->config->expects($this->once()) ->method('getAppValue') ->with("registration", 'allowed_domains', '') ->willReturn('');