====== tests/api/unit/ApiHelperTest.php ====== **Source:** ''tests/api/unit/ApiHelperTest.php'' · 73 lines, ~234 statements · namespace: //(global)// · `declare(strict_types=1)`: no ---- ApiHelper Test Unit tests for Scriptlog\Core\ApiHelper::getAppUrl(). The helper resolves the application base URL from config.php exactly once and caches the result in the Registry under the 'app_url' key. These tests cover both the cache-hit path and the read-then-cache path without depending on the contents of the (gitignored) config.php. ======= Includes ======= ^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../ApiTestCase.php';'' | 15 | ======= Types declared here ======= * [[scriptlog:tests:apihelpertest|ApiHelperTest]] ---- //Generated by 'tools/gendoc'.//