Source: tests/integration/LanguageSwitcherIntegrationTest.php · 494 lines, ~2791 statements · namespace: (global) · `declare(strict_types=1)`: no
Language Switcher Integration Tests
End-to-end tests for the frontend language switching flow. \- Phase 1: Switch-lang parameter processing (mirrors lib/main.php) \- Phase 2: Database content filtering by locale (real DB queries) \- Phase 3: RTL detection through real is_rtl() function \- Phase 4: End-to-end flows with session/cookie/redirect
| Alias | Fully-qualified name |
|---|---|
TestCase | PHPUnit\Framework\TestCase |
| Mode | Target | Line |
|---|---|---|
require | require_once DIR . '/../fixtures/language_switcher_fixture.php'; | 14 |