1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Fixed health test

This commit is contained in:
Eldad Fux 2020-05-18 15:34:28 +03:00
parent 04dff2f958
commit 5bfe581792

View file

@ -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']);
/**