diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-08-19 00:18:39 +0300 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-08-19 00:18:39 +0300 |
commit | 7f7c6e49b6df1e1131fb79abc936cce402150618 (patch) | |
tree | 9c2f0f2e2cab254e2c8071ae2f1760395edfca17 /tests/Core | |
parent | e32b2c4b762a126b504b863c258caa2d4b72213f (diff) |
Return the disabled user mock instead of the existing
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/Core')
-rw-r--r-- | tests/Core/Controller/LostControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/LostControllerTest.php b/tests/Core/Controller/LostControllerTest.php index b7ab99e991f..6012341c952 100644 --- a/tests/Core/Controller/LostControllerTest.php +++ b/tests/Core/Controller/LostControllerTest.php @@ -712,7 +712,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 = [ |