1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Add debugging checks

This commit is contained in:
kodumbeats 2021-03-11 15:39:20 -05:00
parent 5a4afd1cc5
commit 622b1da457

View file

@ -180,12 +180,13 @@ class FunctionsCustomClientTest extends Scope
$this->assertEquals(201, $execution['headers']['status-code']);
sleep(5);
sleep(10);
$executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', [
'content-type' => 'application/json',
'x-appwrite-project' => $projectId,
'x-appwrite-key' => $apikey,
]);
var_dump($executions);
$this->assertEquals(200, $executions['headers']['status-code']);
$this->assertStringContainsString('foobar', $executions['body']['executions'][0]['stdout']);