appwrite/tests/e2e/Services/Health/StorageTest.php

16 lines
448 B
PHP
Raw Normal View History

2026-01-01 09:54:13 +00:00
<?php
namespace Tests\E2E\Services\Health;
class StorageTest extends HealthBase
{
public function testStorage(): void
{
$response = $this->callGet('/health/storage');
$this->assertEquals(200, $response['headers']['status-code']);
$this->assertEquals('pass', $response['body']['status']);
$this->assertIsInt($response['body']['ping']);
$this->assertLessThan(100, $response['body']['ping']);
}
}