Skip to content

Commit

Permalink
Fix comment in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephster committed Nov 17, 2022
1 parent a0d1de1 commit b8436ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AuthorizationValidators/BearerTokenValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function testBearerTokenValidatorRejectsExpiredTokenBeyondLeeway()
{
$accessTokenRepositoryMock = $this->getMockBuilder(AccessTokenRepositoryInterface::class)->getMock();

// We fake generating this token 10 seconds into the future, an extreme example of possible time drift between servers
// We fake generating this token 20 seconds into the future, an extreme example of possible time drift between servers
$future = (new DateTimeImmutable())->add(new DateInterval('PT20S'));

$bearerTokenValidator = new BearerTokenValidator($accessTokenRepositoryMock, new \DateInterval('PT10S'));
Expand Down

0 comments on commit b8436ac

Please sign in to comment.