fix tests

This commit is contained in:
sunxyw
2023-02-24 17:00:40 +08:00
parent bc76febadb
commit fa5b41c26d
3 changed files with 15 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ class ZMConfigTest extends TestCase
try {
$init_conf = require SOURCE_ROOT_DIR . '/config/config.php';
$init_conf['source']['paths'] = [$this->vfs->url()];
$config = new ZMConfig('development', $init_conf);
$config = new ZMConfig($init_conf);
} catch (ConfigException $e) {
$this->fail($e->getMessage());
}