We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cadee6e commit 9b0c14dCopy full SHA for 9b0c14d
tests/Grant/RefreshTokenGrantTest.php
@@ -674,7 +674,7 @@ public function testRevokedRefreshToken(): void
674
675
$refreshTokenRepositoryMock = $this->getMockBuilder(RefreshTokenRepositoryInterface::class)->getMock();
676
$refreshTokenRepositoryMock->method('isRefreshTokenRevoked')
677
- ->will(self::onConsecutiveCalls(false, true));
+ ->willReturn(false, true);
678
$refreshTokenRepositoryMock->expects(self::once())->method('revokeRefreshToken')->with(self::equalTo($refreshTokenId));
679
680
$oldRefreshToken = json_encode(
0 commit comments