diff --git a/components/ILIAS/AccessControl/tests/ilRBACTest.php b/components/ILIAS/AccessControl/tests/ilRBACTest.php index 4bf50e8910d5..cc47d823169c 100755 --- a/components/ILIAS/AccessControl/tests/ilRBACTest.php +++ b/components/ILIAS/AccessControl/tests/ilRBACTest.php @@ -85,9 +85,12 @@ protected function initACDependencies(): void $logger_factory->method('getComponentLogger')->willReturn($logger); $this->setGlobalVariable('ilLoggerFactory', $logger_factory); - if (!defined("ILIAS_LOG_ENABLED")) { - define("ILIAS_LOG_ENABLED", true); + if (!defined('ILIAS_LOG_ENABLED')) { + define('ILIAS_LOG_ENABLED', true); } + if (!defined('ILIAS_LOG_DIR')) { + define('ILIAS_LOG_DIR', '/var/log'); + } } }