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

tests: debug travis

This commit is contained in:
Torsten Dittmann 2021-04-26 16:39:53 +02:00
parent 8d0184af29
commit e7fc22e003

View file

@ -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();