1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

fix expected channels

This commit is contained in:
Damodar Lohani 2022-02-15 09:28:17 +00:00
parent f3c358f24a
commit 63c8e44062

View file

@ -861,7 +861,7 @@ class RealtimeCustomClientTest extends Scope
$this->assertArrayHasKey('data', $response);
$this->assertEquals('connected', $response['type']);
$this->assertNotEmpty($response['data']);
$this->assertCount(2, $response['data']['channels']);
$this->assertCount(1, $response['data']['channels']);
$this->assertContains('files', $response['data']['channels']);
$this->assertNotEmpty($response['data']['user']);
$this->assertEquals($user['$id'], $response['data']['user']['$id']);