Fix LoginController
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
70d42afb93
commit
3bd104ef7c
1 changed files with 4 additions and 0 deletions
|
@ -291,6 +291,10 @@ class LoginControllerTest extends TestCase {
|
|||
$this->userManager->expects($this->once())
|
||||
->method('checkPasswordNoLogging')
|
||||
->will($this->returnValue(false));
|
||||
$this->userManager->expects($this->once())
|
||||
->method('getByEmail')
|
||||
->with($user)
|
||||
->willReturn([]);
|
||||
$this->urlGenerator->expects($this->once())
|
||||
->method('linkToRoute')
|
||||
->with('core.login.showLoginForm', [
|
||||
|
|
Loading…
Reference in a new issue