File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ public function testHasUserThrottlingReturnsFalseWithNoLastRequestDate(): void
93
93
;
94
94
95
95
$ this ->mockRepo
96
+ ->expects ($ this ->once ())
96
97
->method ('createResetPasswordRequest ' )
97
98
->willReturn (new ResetPasswordTestFixtureRequest ())
98
99
;
@@ -126,6 +127,7 @@ public function testHasUserThrottlingReturnsFalseIfNotBeforeThrottleTime(): void
126
127
;
127
128
128
129
$ this ->mockRepo
130
+ ->expects ($ this ->once ())
129
131
->method ('createResetPasswordRequest ' )
130
132
->willReturn (new ResetPasswordTestFixtureRequest ())
131
133
;
@@ -179,6 +181,7 @@ public function testRemoveResetRequestRetrievesTokenFromRepository(): void
179
181
public function testRemoveResetRequestCallsRepositoryToRemoveResetRequestObject (): void
180
182
{
181
183
$ this ->mockRepo
184
+ ->expects ($ this ->once ())
182
185
->method ('findResetPasswordRequest ' )
183
186
->willReturn ($ this ->mockResetRequest )
184
187
;
You can’t perform that action at this time.
0 commit comments