|
@@ -86,8 +86,8 @@ |
|
|
block discarded – undo |
|
86
|
86
|
$token2 = new Token('string', 'jdoe','unique-token-2', 'reset-password', '+1 day', []); |
|
87
|
87
|
|
|
88
|
88
|
$this->factory->expects($this->exactly(2)) |
|
89
|
|
- ->method('create') |
|
90
|
|
- ->will($this->onConsecutiveCalls($token1, $token2)); |
|
|
89
|
+ ->method('create') |
|
|
90
|
+ ->will($this->onConsecutiveCalls($token1, $token2)); |
|
91
|
91
|
|
|
92
|
92
|
$this->repository->exists('unique-token-1', 'forgot_password') |
|
93
|
93
|
->shouldBeCalledTimes(1) |
Please login to merge, or discard this patch.