summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-14 17:00:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-14 17:00:24 +0300
commit92b448fa3bcc2057552410a69c88c1683c6edba8 (patch)
tree1ac4f54f2e8e5296df85d51dffe8de8ecbb2c37d /src/resources/dye/dyepalette_unittest.cc
parent2f020391033422e7a580c6edcf9e4729d7690954 (diff)
downloadplus-92b448fa3bcc2057552410a69c88c1683c6edba8.tar.gz
plus-92b448fa3bcc2057552410a69c88c1683c6edba8.tar.bz2
plus-92b448fa3bcc2057552410a69c88c1683c6edba8.tar.xz
plus-92b448fa3bcc2057552410a69c88c1683c6edba8.zip
Fix unit tests.
Diffstat (limited to 'src/resources/dye/dyepalette_unittest.cc')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc2
1 files changed, 2 insertions, 0 deletions
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")