Update# use once() instead of at()

This commit is contained in:
Pellaeon Lin 2018-06-30 17:40:37 +08:00
parent 598e3ff4fa
commit 05be19aa93
1 changed files with 1 additions and 1 deletions

View File

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