tests: debug travis
This commit is contained in:
parent
8d0184af29
commit
e7fc22e003
|
@ -453,6 +453,8 @@ class WebhooksCustomServerTest extends Scope
|
||||||
/**
|
/**
|
||||||
* Test for SUCCESS
|
* Test for SUCCESS
|
||||||
*/
|
*/
|
||||||
|
sleep(10);
|
||||||
|
|
||||||
$execution = $this->client->call(Client::METHOD_POST, '/functions/'.$data['functionId'].'/executions', array_merge([
|
$execution = $this->client->call(Client::METHOD_POST, '/functions/'.$data['functionId'].'/executions', array_merge([
|
||||||
'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
'x-appwrite-project' => $this->getProject()['$id'],
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
|
@ -460,7 +462,6 @@ class WebhooksCustomServerTest extends Scope
|
||||||
|
|
||||||
$this->assertEquals($execution['headers']['status-code'], 201);
|
$this->assertEquals($execution['headers']['status-code'], 201);
|
||||||
$this->assertNotEmpty($execution['body']['$id']);
|
$this->assertNotEmpty($execution['body']['$id']);
|
||||||
sleep(10);
|
|
||||||
|
|
||||||
$webhook = $this->getLastRequest();
|
$webhook = $this->getLastRequest();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue