summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/poparser_unittest.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/translation/poparser_unittest.cc b/src/utils/translation/poparser_unittest.cc
index 510be11bb..ff8370344 100644
--- a/src/utils/translation/poparser_unittest.cc
+++ b/src/utils/translation/poparser_unittest.cc
@@ -20,6 +20,9 @@
#include "catch.hpp"
#include "client.h"
+#include "configuration.h"
+#include "configmanager.h"
+#include "dirs.h"
#include "graphicsmanager.h"
#include "being/actorsprite.h"
@@ -66,6 +69,13 @@ TEST_CASE("PoParser tests", "PoParser")
theme = new Theme;
Theme::selectSkin();
+
+ Dirs::initRootDir();
+ Dirs::initHomeDir();
+
+ ConfigManager::initConfiguration();
+ getConfigDefaults2(config.getDefaultValues());
+
ActorSprite::load();
gui = new Gui();
gui->postInit(mainGraphics);