summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-18 01:55:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-18 01:55:23 +0300
commitbe8edccc37bb2ce0b17cc950129cd57d65aac49a (patch)
tree00badff35ec2ea5797043ec2b4bcec5496c883e2 /src/resources
parent91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a (diff)
downloadmanaverse-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.gz
manaverse-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.bz2
manaverse-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.xz
manaverse-be8edccc37bb2ce0b17cc950129cd57d65aac49a.zip
Fix unit tests after default theme was changed.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc1
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc
index 0eee7b029..351a74a2d 100644
--- a/src/resources/dye/dyepalette_unittest.cc
+++ b/src/resources/dye/dyepalette_unittest.cc
@@ -93,6 +93,7 @@ TEST_CASE("DyePalette tests", "")
ConfigManager::initConfiguration();
getConfigDefaults2(config.getDefaultValues());
+ branding.setDefaultValues(getBrandingDefaults());
ActorSprite::load();
gui = new Gui();
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc
index 23d2b8333..ee36ed7d7 100644
--- a/src/resources/sprite/animatedsprite_unittest.cc
+++ b/src/resources/sprite/animatedsprite_unittest.cc
@@ -94,6 +94,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite")
ConfigManager::initConfiguration();
getConfigDefaults2(config.getDefaultValues());
+ branding.setDefaultValues(getBrandingDefaults());
ActorSprite::load();
gui = new Gui();