Add more tests

This commit is contained in:
Khushboo Verma
2024-01-24 11:03:45 +05:30
parent 3e510c9975
commit 2d02d51fec
2 changed files with 15 additions and 1 deletions
@@ -477,6 +477,13 @@ class HealthCustomServerTest extends Scope
$this->assertEquals(404, $response['headers']['status-code']);
$response = $this->client->call(Client::METHOD_GET, '/health/certificate?domain=www.google.com/usr/src/local', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), []);
$this->assertEquals(400, $response['headers']['status-code']);
return [];
}
}