Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:languageswitcherintegrationtest

This is an old revision of the document!


tests/integration/LanguageSwitcherIntegrationTest.php

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

Imports

^ Alias ^ Fully-qualified name ^
| ''TestCase'' | ''PHPUnit\Framework\TestCase'' |

Includes

^ Mode ^ Target ^ Line ^
| ''require'' | ''require_once __DIR__ . '/../fixtures/language_switcher_fixture.php';'' | 14 |

Types declared here


Generated by 'tools/gendoc'.

scriptlog/tests/languageswitcherintegrationtest.1790413765.txt.gz · Last modified: by admin