Fixed health test
This commit is contained in:
parent
04dff2f958
commit
5bfe581792
|
@ -227,13 +227,13 @@ class HealthCustomClientTest extends Scope
|
|||
/**
|
||||
* Test for SUCCESS
|
||||
*/
|
||||
$response = $this->client->call(Client::METHOD_GET, '/health/storage/anti-virus', array_merge([
|
||||
$response = $this->client->call(Client::METHOD_GET, '/health/anti-virus', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), []);
|
||||
|
||||
$this->assertEquals(200, $response['headers']['status-code']);
|
||||
$this->assertEquals('OK', $response['body']['status']);
|
||||
$this->assertEquals('online', $response['body']['status']);
|
||||
$this->assertStringStartsWith('ClamAV ', $response['body']['version']);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue