diff --git a/tests/helpers/CMTest/library/CMTest/TH.php b/tests/helpers/CMTest/library/CMTest/TH.php
index <HASH>..<HASH> 100644
--- a/tests/helpers/CMTest/library/CMTest/TH.php
+++ b/tests/helpers/CMTest/library/CMTest/TH.php
@@ -24,12 +24,12 @@ class CMTest_TH {
     }
 
     public static function clearEnv() {
+        self::clearConfig();
         self::clearServices();
         self::clearDb();
         self::clearCache();
         self::timeReset();
         self::clearFilesystem();
-        self::clearConfig();
     }
 
     public static function clearCache() {
Reset config first in TH