summaryrefslogtreecommitdiff
path: root/src/unittests/integrity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/integrity.cc')
-rw-r--r--src/unittests/integrity.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/unittests/integrity.cc b/src/unittests/integrity.cc
index e45eb9f4e..3cb4f3dc5 100644
--- a/src/unittests/integrity.cc
+++ b/src/unittests/integrity.cc
@@ -122,6 +122,12 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::mountDirSilent("data", Append_false);
VirtFs::mountDirSilent("../data", Append_false);
+ Dirs::initRootDir();
+ Dirs::initHomeDir();
+
+ setBrandingDefaults(branding);
+ ConfigManager::initConfiguration();
+
#ifdef USE_SDL2
imageHelper = new SurfaceImageHelper;
@@ -137,12 +143,6 @@ TEST_CASE("integrity tests", "integrity")
userPalette = new UserPalette;
- Dirs::initRootDir();
- Dirs::initHomeDir();
-
- setBrandingDefaults(branding);
- ConfigManager::initConfiguration();
-
config.setValue("fontSize", 16);
theme = new Theme;
Theme::selectSkin();