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

fix tests

This commit is contained in:
Torsten Dittmann 2021-03-24 17:05:50 +01:00
parent 2083c5bc89
commit 52f3312230

View file

@ -666,16 +666,6 @@ trait RealtimeBase
$this->assertEquals($execution['headers']['status-code'], 201);
$this->assertNotEmpty($execution['body']['$id']);
$response = json_decode($client->receive(), true);
$this->assertArrayHasKey('timestamp', $response);
$this->assertCount(3, $response['channels']);
$this->assertContains('executions', $response['channels']);
$this->assertContains('executions.' . $execution['body']['$id'], $response['channels']);
$this->assertContains('functions.' . $execution['body']['functionId'], $response['channels']);
$this->assertEquals('functions.executions.create', $response['event']);
$this->assertNotEmpty($response['payload']);
sleep(6);
$response = json_decode($client->receive(), true);