Update# test

This commit is contained in:
Pellaeon Lin 2018-07-01 06:14:38 +08:00
parent 3e9f594163
commit dec32a0afa
1 changed files with 1 additions and 1 deletions

View File

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