feat: fix tests
This commit is contained in:
parent
f3dfec8e75
commit
e816edc047
1 changed files with 5 additions and 5 deletions
|
@ -668,12 +668,12 @@ class FunctionsCustomServerTest extends Scope
|
||||||
$this->assertEquals(204, $function['headers']['status-code']);
|
$this->assertEquals(204, $function['headers']['status-code']);
|
||||||
$this->assertEmpty($function['body']);
|
$this->assertEmpty($function['body']);
|
||||||
|
|
||||||
// $function = $this->client->call(Client::METHOD_GET, '/functions/' . $data['functionId'], array_merge([
|
$function = $this->client->call(Client::METHOD_GET, '/functions/' . $data['functionId'], array_merge([
|
||||||
// 'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
// 'x-appwrite-project' => $this->getProject()['$id'],
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
// ], $this->getHeaders()));
|
], $this->getHeaders()));
|
||||||
|
|
||||||
// $this->assertEquals(404, $function['headers']['status-code']);
|
$this->assertEquals(404, $function['headers']['status-code']);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
|
Loading…
Reference in a new issue