From 92b448fa3bcc2057552410a69c88c1683c6edba8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Jan 2016 17:00:24 +0300 Subject: Fix unit tests. --- src/resources/dye/dyepalette_unittest.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc index 402736bb3..5654a4a08 100644 --- a/src/resources/dye/dyepalette_unittest.cc +++ b/src/resources/dye/dyepalette_unittest.cc @@ -21,6 +21,7 @@ #include "catch.hpp" #include "client.h" +#include "configuration.h" #include "logger.h" #include "resources/resourcemanager.h" @@ -53,6 +54,7 @@ TEST_CASE("DyePalette tests") imageHelper = new SDLImageHelper(); SDL_SetVideoMode(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); + paths.setDefaultValues(getPathsDefaults()); PaletteDB::load(); SECTION("simple test 1") -- cgit v1.2.3-70-g09d2