summaryrefslogtreecommitdiff
path: root/src/unittests/resources/map/maplayer/drawfringesimple.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/resources/map/maplayer/drawfringesimple.cc')
-rw-r--r--src/unittests/resources/map/maplayer/drawfringesimple.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/unittests/resources/map/maplayer/drawfringesimple.cc b/src/unittests/resources/map/maplayer/drawfringesimple.cc
index 6a362b8aa..8c3457e8f 100644
--- a/src/unittests/resources/map/maplayer/drawfringesimple.cc
+++ b/src/unittests/resources/map/maplayer/drawfringesimple.cc
@@ -20,6 +20,9 @@
#include "unittests/unittests.h"
+#include "configmanager.h"
+#include "configuration.h"
+#include "dirs.h"
#include "graphicsmanager.h"
#include "being/localplayer.h"
@@ -62,6 +65,12 @@ TEST_CASE("MapLayer drawFringe simple", "")
graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
+ Dirs::initRootDir();
+ Dirs::initHomeDir();
+
+ setBrandingDefaults(branding);
+ ConfigManager::initConfiguration();
+
theme = new Theme;
Theme::selectSkin();