scriptlog:tests:language_switcher_fixture
This is an old revision of the document!
Table of Contents
tests/fixtures/language_switcher_fixture.php
Source: tests/fixtures/language_switcher_fixture.php · 267 lines, ~1152 statements · namespace: (global) · `declare(strict_types=1)`: no
Language Switcher Test Fixtures
Helper functions and data for language switcher integration tests. processSwitchLang() replicates the exact logic from lib/main.php (lines 103-129) for testability (the real code calls header()+exit() which can't run in CLI).
Includes
^ Mode ^ Target ^ Line ^ | ''require'' | ''require_once __DIR__ . '/../../public/themes/blog/functions.php';'' | 15 |
Types declared here
scriptlog/tests/language_switcher_fixture.1790413766.txt.gz · Last modified: by admin
