From 496b91480ba2654f1bf25b787a3c8dde32309a8a Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 29 Apr 2026 11:33:48 +0530 Subject: [PATCH] updated --- .../Presence/PresenceRealtimeClientTest.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/e2e/Services/Presence/PresenceRealtimeClientTest.php b/tests/e2e/Services/Presence/PresenceRealtimeClientTest.php index fa22854d13..2a36a9ea6b 100644 --- a/tests/e2e/Services/Presence/PresenceRealtimeClientTest.php +++ b/tests/e2e/Services/Presence/PresenceRealtimeClientTest.php @@ -110,19 +110,6 @@ class PresenceRealtimeClientTest extends Scope } $this->fail('Timed out waiting for expected websocket frame. Last frame: ' . \json_encode($lastMessage)); - return []; - } - - private function drainSocketFor(WebSocketClient $client, int $timeoutMs = 500): void - { - $deadline = \microtime(true) + ($timeoutMs / 1000); - while (\microtime(true) < $deadline) { - try { - $client->receive(); - } catch (TimeoutException) { - return; - } - } } private function assertQuietFor(WebSocketClient $client, callable $forbidden, int $timeoutMs = 150): void