Skip to content

Commit

Permalink
RBAC: Fix Missing Log Dir in Test
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Nov 11, 2024
1 parent 688d76c commit 7a039ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/ILIAS/AccessControl/tests/ilRBACTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
}

0 comments on commit 7a039ca

Please sign in to comment.