From af25776d952828e9857cf8372c42ec52f7467fe4 Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 23 Jan 2023 19:15:03 +0200 Subject: [PATCH] test adjustments --- tests/e2e/Services/Realtime/RealtimeCustomClientTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php b/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php index 575a9f8dc1..b534e95ca7 100644 --- a/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php +++ b/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php @@ -108,6 +108,7 @@ class RealtimeCustomClientTest extends Scope $this->assertEquals($userId, $response['data']['user']['$id']); $client->close(); + } public function testManualAuthentication() @@ -213,6 +214,7 @@ class RealtimeCustomClientTest extends Scope $client->close(); + } public function testConnectionPlatform() @@ -231,10 +233,12 @@ class RealtimeCustomClientTest extends Scope \usleep(250000); // 250ms $this->expectException(ConnectionException::class); // Check if server disconnnected client $client->close(); + } public function testChannelAccount() { + $user = $this->getUser(); $userId = $user['$id'] ?? ''; $session = $user['session'] ?? ''; @@ -425,6 +429,7 @@ class RealtimeCustomClientTest extends Scope $this->assertContains("users.*.verification.*.update", $response['data']['events']); $this->assertContains("users.*.verification.*", $response['data']['events']); $this->assertContains("users.*", $response['data']['events']); + /** * Test Acoount Prefs Update */