diff --git a/tests/AblyRestTest.php b/tests/AblyRestTest.php index 79c6bfa..1aca39d 100644 --- a/tests/AblyRestTest.php +++ b/tests/AblyRestTest.php @@ -398,13 +398,13 @@ public function testHttpTimeout() { $ablyTimeout = new AblyRest( [ 'key' => 'fake.key:veryFake', - 'httpRequestTimeout' => 50, // 50 ms + 'httpRequestTimeout' => 20, // 20 ms ]); $ably->http->get('https://cdn.ably.io/lib/ably.js'); // should work $this->expectException(AblyRequestException::class); $this->expectExceptionCode(50003); - $ablyTimeout->http->get('https://cdn.ably.io/lib/ably.js'); // guaranteed to take more than 50 ms + $ablyTimeout->http->get('https://cdn.ably.io/lib/ably.js'); // guaranteed to take more than 20 ms } }