From c44731bd976da6e6e2c17c8d8a14fed2ccc9f715 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 1 Sep 2021 20:27:13 +0300 Subject: [PATCH] fix test --- tests/unit/Espo/Core/Utils/ConfigTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/Espo/Core/Utils/ConfigTest.php b/tests/unit/Espo/Core/Utils/ConfigTest.php index e5b1808959..32da3ab699 100644 --- a/tests/unit/Espo/Core/Utils/ConfigTest.php +++ b/tests/unit/Espo/Core/Utils/ConfigTest.php @@ -42,6 +42,8 @@ class ConfigTest extends \PHPUnit\Framework\TestCase private $systemConfigPath = 'tests/unit/testData/Utils/Config/systemConfig.php'; + private $internalConfigPath = 'tests/unit/testData/cache/config-internal.php'; + protected function setUp() : void { $this->fileManager = new ConfigFileManager; @@ -57,6 +59,7 @@ class ConfigTest extends \PHPUnit\Framework\TestCase $this->reflection->setProperty('configPath', $this->configPath); $this->reflection->setProperty('systemConfigPath', $this->systemConfigPath); + $this->reflection->setProperty('internalConfigPath', $this->internalConfigPath); } protected function tearDown() : void