19 declare(strict_types=1);
35 protected function setUp(): void
72 $this->
setGlobalVariable(
'ilObjDataCache', $this->createMock(ilObjectDataCache::class));
77 $logger = $this->getMockBuilder(ilLogger::class)
78 ->disableOriginalConstructor()
81 $logger_factory = $this->getMockBuilder(ilLoggerFactory::class)
82 ->disableOriginalConstructor()
83 ->onlyMethods([
'getComponentLogger'])
85 $logger_factory->method(
'getComponentLogger')->willReturn($logger);
88 if (!defined(
'ILIAS_LOG_ENABLED')) {
89 define(
'ILIAS_LOG_ENABLED',
true);
92 if (!defined(
'ILIAS_LOG_DIR')) {
93 define(
'ILIAS_LOG_DIR',
'/var/log');
Interface Observer Contains several chained tasks and infos about them.
Customizing of pimple-DIC for ILIAS.
Unit tests for tree table.
Class ilRbacAdmin Core functions for role based access control.
setGlobalVariable(string $name, $value)