From f63bfc7026b6fa73fcb4425f7f7a6b64c61e2536 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 28 Feb 2022 16:42:52 +0100 Subject: [PATCH] tests: fix realtime #2 --- tests/e2e/Services/Realtime/RealtimeCustomClientTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php b/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php index 182ed7d55..cf2e32164 100644 --- a/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php +++ b/tests/e2e/Services/Realtime/RealtimeCustomClientTest.php @@ -1065,7 +1065,8 @@ class RealtimeCustomClientTest extends Scope $this->assertEquals('event', $responseUpdate['type']); $this->assertNotEmpty($responseUpdate['data']); $this->assertArrayHasKey('timestamp', $responseUpdate['data']); - $this->assertCount(3, $responseUpdate['data']['channels']); + $this->assertCount(4, $responseUpdate['data']['channels']); + $this->assertContains('console', $responseUpdate['data']['channels']); $this->assertContains('executions', $responseUpdate['data']['channels']); $this->assertContains('executions.' . $execution['body']['$id'], $responseUpdate['data']['channels']); $this->assertContains('functions.' . $execution['body']['functionId'], $responseUpdate['data']['channels']);