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…
Reference in New Issue