Skip to content

Commit c87204a

Browse files
committed
Use accessTokenRepository directly in tests
1 parent 08f55a0 commit c87204a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/src/Repositories/AccessTokenRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function testRevokeByAuthCodeId(string $database): void
302302
$this->assertFalse($isRevoked);
303303

304304
// Revoke the access token
305-
$this->mock->revokeByAuthCodeId(self::AUTH_CODE_ID);
305+
$this->accessTokenRepository->revokeByAuthCodeId(self::AUTH_CODE_ID);
306306
$isRevoked = $this->accessTokenRepository->isAccessTokenRevoked(self::ACCESS_TOKEN_ID);
307307

308308
$this->assertTrue($isRevoked);

0 commit comments

Comments
 (0)