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

Fixed test

This commit is contained in:
Eldad Fux 2020-07-23 23:59:25 +03:00
parent 263d5e4cc1
commit 9affd6ab1c

View file

@ -311,6 +311,11 @@ class FunctionsConsoleServerTest extends Scope
sleep(5);
$execution = $this->client->call(Client::METHOD_GET, '/functions/'.$data['functionId'].'/executions/'.$executionId, array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()));
$this->assertNotEmpty($execution['body']['$id']);
$this->assertNotEmpty($execution['body']['functionId']);
$this->assertIsInt($execution['body']['dateCreated']);