diff options
Diffstat (limited to 'tests/unit/lib/classes/PluginRepositoryTest.php')
| -rw-r--r-- | tests/unit/lib/classes/PluginRepositoryTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/lib/classes/PluginRepositoryTest.php b/tests/unit/lib/classes/PluginRepositoryTest.php index d1f0f08..6676b7c 100644 --- a/tests/unit/lib/classes/PluginRepositoryTest.php +++ b/tests/unit/lib/classes/PluginRepositoryTest.php @@ -14,12 +14,14 @@ require_once 'lib/plugins/engine/PluginRepository.class.php'; class PluginRepositoryTest extends \Codeception\Test\Unit { + private $repository; + public function setUp (): void { $GLOBALS['SOFTWARE_VERSION'] = '1.9.0'; $GLOBALS['CACHING_ENABLE'] = false; - $url = 'file://'.dirname(__FILE__).'/plugin_repository_test.xml'; + $url = 'file://' . __DIR__ . '/plugin_repository_test.xml'; $this->repository = new PluginRepository($url); } |
