scriptlog:tests:language_switcher_fixture
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.txt · Last modified: by admin
