From 5c3585a1ed22d87949f7a59b23b8342a13d9a1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 16 Apr 2024 14:41:29 +0200 Subject: [PATCH] Fix loading of environment variable in bootstrap process --- tests/app/config/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/config/bootstrap.php b/tests/app/config/bootstrap.php index 4a7385190..6f243bb04 100644 --- a/tests/app/config/bootstrap.php +++ b/tests/app/config/bootstrap.php @@ -23,7 +23,7 @@ if (is_array($env = @include dirname(__DIR__).'/.env.local.php') && (!isset($env (new Dotenv(false))->populate($env); } else { // load all the .env files - (new Dotenv(false))->loadEnv(dirname(__DIR__).'/../../.env.test'); + (new Dotenv(false))->loadEnv(dirname(__DIR__).'/../../.env'); } $_SERVER += $_ENV;