From 7a039ca30d50212dea87b19599e121fc7bb62171 Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Mon, 11 Nov 2024 11:39:00 +0100 Subject: [PATCH] RBAC: Fix Missing Log Dir in Test --- components/ILIAS/AccessControl/tests/ilRBACTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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'); + } } }