aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/UnitTestCase.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/UnitTestCase.php b/tests/unit/UnitTestCase.php
index 60db5a4b5..97ac1576e 100644
--- a/tests/unit/UnitTestCase.php
+++ b/tests/unit/UnitTestCase.php
@@ -78,8 +78,11 @@ class UnitTestCase extends TestCase {
$this->in_transaction = \DBA::$dba->db->beginTransaction();
$this->loadFixtures();
-
}
+
+ // Make sure app config is reset and loaded from fixtures
+ \App::$config = array();
+ \Zotlabs\Lib\Config::Load('system');
}
protected function tearDown() : void {