scriptlog:tests:healthendpointtest
Table of Contents
tests/api/unit/HealthEndpointTest.php
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).
Includes
| Mode | Target | Line |
|---|---|---|
require | require_once DIR . '/../ApiTestCase.php'; | 13 |
Types declared here
scriptlog/tests/healthendpointtest.txt · Last modified: by admin
