diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-18 01:55:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-18 01:55:23 +0300 |
commit | be8edccc37bb2ce0b17cc950129cd57d65aac49a (patch) | |
tree | 00badff35ec2ea5797043ec2b4bcec5496c883e2 /src/gui/windowmanager_unittest.cc | |
parent | 91cd49664d1dbe1bdea78541fcdf4bd3ec94f22a (diff) | |
download | manaplus-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.gz manaplus-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.bz2 manaplus-be8edccc37bb2ce0b17cc950129cd57d65aac49a.tar.xz manaplus-be8edccc37bb2ce0b17cc950129cd57d65aac49a.zip |
Fix unit tests after default theme was changed.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 8f280036a..2c17de6b6 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -186,6 +186,7 @@ TEST_CASE("Windows tests", "windowmanager") ConfigManager::initConfiguration(); getConfigDefaults2(config.getDefaultValues()); + branding.setDefaultValues(getBrandingDefaults()); ConfigManager::initServerConfig("nonexistserver"); localPlayer = new LocalPlayer(static_cast<BeingId>(1), @@ -846,6 +847,7 @@ TEST_CASE("WindowManager", "create windows") ConfigManager::initConfiguration(); getConfigDefaults2(config.getDefaultValues()); + branding.setDefaultValues(getBrandingDefaults()); ConfigManager::initServerConfig("nonexistserver"); localPlayer = new LocalPlayer(static_cast<BeingId>(1), |