Update# use once() instead of at()
This commit is contained in:
parent
598e3ff4fa
commit
05be19aa93
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Reference in New Issue