1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

tests: fix realtime #2

This commit is contained in:
Torsten Dittmann 2022-02-28 16:42:52 +01:00
parent 18dd7bf15b
commit f63bfc7026

View file

@ -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']);