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('');