diff options
Diffstat (limited to 'src/resources/dye/dyepalette_unittest.cc')
-rw-r--r-- | src/resources/dye/dyepalette_unittest.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc index ba25ea4ab..f475e7dab 100644 --- a/src/resources/dye/dyepalette_unittest.cc +++ b/src/resources/dye/dyepalette_unittest.cc @@ -22,6 +22,8 @@ #include "client.h" #include "configuration.h" +#include "configmanager.h" +#include "dirs.h" #include "graphicsmanager.h" #include "being/actorsprite.h" @@ -77,6 +79,13 @@ TEST_CASE("DyePalette tests") theme = new Theme; Theme::selectSkin(); + + Dirs::initRootDir(); + Dirs::initHomeDir(); + + ConfigManager::initConfiguration(); + getConfigDefaults2(config.getDefaultValues()); + ActorSprite::load(); gui = new Gui(); gui->postInit(mainGraphics); |