From c614892fcaeced5b6c670abdc176b9122b5a37d8 Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Wed, 20 Mar 2024 17:18:50 +0530 Subject: [PATCH] Fixed authtest for request timeout --- tests/AuthTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/AuthTest.php b/tests/AuthTest.php index 62288e8..0da208c 100644 --- a/tests/AuthTest.php +++ b/tests/AuthTest.php @@ -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)' );