mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
test: Support ICINGAWEB_CONFIGDIR
during bootstrapping
This commit is contained in:
parent
4ccebb78b5
commit
f61d278110
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user