Skip to content

Commit 9b0c14d

Browse files
fix deprecations
1 parent cadee6e commit 9b0c14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Grant/RefreshTokenGrantTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ public function testRevokedRefreshToken(): void
674674

675675
$refreshTokenRepositoryMock = $this->getMockBuilder(RefreshTokenRepositoryInterface::class)->getMock();
676676
$refreshTokenRepositoryMock->method('isRefreshTokenRevoked')
677-
->will(self::onConsecutiveCalls(false, true));
677+
->willReturn(false, true);
678678
$refreshTokenRepositoryMock->expects(self::once())->method('revokeRefreshToken')->with(self::equalTo($refreshTokenId));
679679

680680
$oldRefreshToken = json_encode(

0 commit comments

Comments
 (0)