From f61d278110ad8a7c92132bb53f146f13e57ba8b5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 9 Aug 2023 13:35:04 +0200 Subject: [PATCH] test: Support `ICINGAWEB_CONFIGDIR` during bootstrapping --- test/php/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/php/bootstrap.php b/test/php/bootstrap.php index 60174125e..a5949c30f 100644 --- a/test/php/bootstrap.php +++ b/test/php/bootstrap.php @@ -7,7 +7,7 @@ namespace Icinga\Test { $basePath = getenv('ICINGAWEB_BASEDIR') ?: realpath(dirname(__FILE__) . '/../..'); $libraryPath = getenv('ICINGAWEB_ICINGA_LIB') ?: ($basePath . '/library/Icinga'); - $configPath = $basePath . '/test/config'; + $configPath = getenv('ICINGAWEB_CONFIGDIR') ?: $basePath . '/test/config'; require $libraryPath . '/Application/Test.php'; Test::start($basePath, $configPath);