This commit is contained in:
Yuri Kuznetsov
2025-02-07 14:30:08 +02:00
parent b68100df38
commit b2ee92d606

View File

@@ -47,6 +47,7 @@ class BaseTest extends TestCase
protected $objects;
protected $fileManager;
protected $reflection;
private $systemConfig;
protected $actionManagerParams = [
'name' => 'Extension',
@@ -73,11 +74,14 @@ class BaseTest extends TestCase
$this->configWriter = $this->createMock(ConfigWriter::class);
$this->log = $this->createMock(Log::class);
$this->systemConfig = $this->createMock(Config\SystemConfig::class);
$map = [
[Config::class, $this->config],
[FileManager::class, $this->fileManager],
[InjectableFactory::class, $this->injectableFactory],
[Log::class, $this->log],
[Config\SystemConfig::class, $this->systemConfig]
];
$idGenerator = $this->createMock(RecordIdGenerator::class);