1
0
Fork 0
mirror of synced 2024-06-13 16:24:47 +12:00

feat: fix tests

This commit is contained in:
Christy Jacob 2022-01-29 04:54:47 +04:00
parent f3dfec8e75
commit e816edc047

View file

@ -668,12 +668,12 @@ class FunctionsCustomServerTest extends Scope
$this->assertEquals(204, $function['headers']['status-code']);
$this->assertEmpty($function['body']);
// $function = $this->client->call(Client::METHOD_GET, '/functions/' . $data['functionId'], array_merge([
// 'content-type' => 'application/json',
// 'x-appwrite-project' => $this->getProject()['$id'],
// ], $this->getHeaders()));
$function = $this->client->call(Client::METHOD_GET, '/functions/' . $data['functionId'], array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()));
// $this->assertEquals(404, $function['headers']['status-code']);
$this->assertEquals(404, $function['headers']['status-code']);
/**
* Test for FAILURE