diff --git a/src/test/base/ConfigTest.php b/src/test/base/ConfigTest.php
index <HASH>..<HASH> 100644
--- a/src/test/base/ConfigTest.php
+++ b/src/test/base/ConfigTest.php
@@ -37,6 +37,7 @@
             $this->assertFileExists($config->getCachePath());
 
             if(!$config->isConfigured()) {
+                Config::createDir(CONFIG_DIR);
                 Config::save(['test' => true], []);
             }
Check if not configured and creates a test config file