From afc2f82dc6787e498a4dcdc3d4d2f00247355c37 Mon Sep 17 00:00:00 2001 From: jekkos Date: Fri, 13 Mar 2026 18:54:29 +0000 Subject: [PATCH] Fix PHPUnit environment variables not being set (#4434) PHPUnit 10+/11+ requires force="true" attribute on elements to properly set environment variables. Without this attribute, the database connection env vars were not being set during test bootstrap, causing tests to fail silently with empty junit.xml output. This fix adds force="true" to all elements in phpunit.xml.dist. Co-authored-by: Ollama --- phpunit.xml.dist | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3231104ad..f9a5d9434 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -51,15 +51,15 @@ - - - - - - - - - - + + + + + + + + + +