Skip to content

Commit

Permalink
Fixed authtest for request timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Mar 20, 2024
1 parent 3ad695e commit c614892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function testCreateTokenRequestValidity() {

$this->assertFalse( $ably->auth->isUsingBasicAuth(), 'Expected token auth to be used' );
$this->assertLessThan(
200,
300,
abs($timestamp - $ably->auth->getTokenDetails()->issued),
'Expected token issued timestamp to be near to the time of request (allowing for clock skew)'
);
Expand Down

0 comments on commit c614892

Please sign in to comment.