Return the disabled user mock instead of the existing
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
34fa5dae37
commit
7b4d5aa8a9
|
@ -700,7 +700,7 @@ class LostControllerTest extends \Test\TestCase {
|
|||
->willReturn('encryptedData');
|
||||
$this->userManager->method('get')
|
||||
->with('DisabledUser')
|
||||
->willReturn($this->existingUser);
|
||||
->willReturn($user);
|
||||
|
||||
$response = $this->lostController->setPassword('TheOnlyAndOnlyOneTokenToResetThePassword', 'DisabledUser', 'NewPassword', true);
|
||||
$expectedResponse = [
|
||||
|
|
Loading…
Reference in New Issue