mirror of
https://github.com/wallabag/wallabag.git
synced 2026-03-21 11:32:35 +01:00
With dbname_suffix removed, the test can no longer rely on Doctrine silently appending _test when constructing the temporary database URL. Instead, the test now captures the full initial DATABASE_URL before modification, stores it in $initialDatabaseUrl, and restores it in all three env channels (putenv, $_ENV, $_SERVER) in tearDown. The SQLite path replacement logic is also updated to target the actual filename rather than a suffix-based path segment.