Source: tests/api/unit/HealthEndpointTest.php · 64 lines, ~255 statements · namespace: (global) · `declare(strict_types=1)`: no
Health Endpoint Test
End-to-end tests for the GET /api/v1/health route registered in api/index.php. The closure returns status “healthy”, a timestamp in Y-m-d H:i:s format, and the runtime PHP version inside the standard ApiResponse envelope (data.status, data.timestamp, data.php_version).
| Mode | Target | Line |
|---|---|---|
require | require_once DIR . '/../ApiTestCase.php'; | 13 |