scriptlog:tests:healthendpointtest
This is an old revision of the document!
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.1790413764.txt.gz · Last modified: by admin
