Fix LoginController

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/5791/head
Roeland Jago Douma 9 years ago
parent 70d42afb93
commit 3bd104ef7c
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 4
      tests/Core/Controller/LoginControllerTest.php

@ -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…
Cancel
Save