Skip to content

Commit 2c17186

Browse files
Remove calls to onConsecutiveCalls()
1 parent df88cf8 commit 2c17186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Encoder/UserPasswordEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testNeedsRehash()
8686
$mockEncoderFactory->expects($this->any())
8787
->method('getEncoder')
8888
->with($user)
89-
->will($this->onConsecutiveCalls($encoder, $encoder, new NativePasswordEncoder(5, 20000, 5), $encoder));
89+
->willReturn($encoder, $encoder, new NativePasswordEncoder(5, 20000, 5), $encoder);
9090

9191
$passwordEncoder = new UserPasswordEncoder($mockEncoderFactory);
9292

0 commit comments

Comments
 (0)