From fa3f257e7baa57cebfd70cd8f24c619b54c8155e Mon Sep 17 00:00:00 2001 From: jekkos Date: Fri, 13 Mar 2026 09:38:37 +0000 Subject: [PATCH] Fix PHPUnit test configuration for database connectivity (#4430) - Add database.tests.* environment variables to phpunit.xml.dist - Set hostname to 127.0.0.1 to match CI MariaDB container - Add MYSQL_* env vars for Database.php compatibility - Tests were not running because database connection failed silently Co-authored-by: Ollama --- phpunit.xml.dist | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b408a99d9..3231104ad 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -50,14 +50,16 @@ - - + + + + + + + + + + +