summaryrefslogtreecommitdiff
path: root/src/unittests/utils/stringutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/stringutils.cc')
-rw-r--r--src/unittests/utils/stringutils.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unittests/utils/stringutils.cc b/src/unittests/utils/stringutils.cc
index ddcdcbf3f..ddb94ddd9 100644
--- a/src/unittests/utils/stringutils.cc
+++ b/src/unittests/utils/stringutils.cc
@@ -28,6 +28,8 @@
#include "utils/dtor.h"
+#include "utils/translation/translationmanager.h"
+
#include "resources/iteminfo.h"
#include "resources/db/itemdb.h"
@@ -1489,6 +1491,7 @@ TEST_CASE("stringuntils replaceItemLinks", "")
VirtFs::mountDirSilent("data/test", Append_false);
VirtFs::mountDirSilent("../data/test", Append_false);
+ TranslationManager::init();
ItemDB::NamedItemInfos &namedInfos = ItemDB::getNamedItemInfosTest();
ItemDB::ItemInfos &infos = ItemDB::getItemInfosTest();
setPathsDefaults(paths);