summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-08 19:59:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-08 20:07:45 +0300
commitff6ee78dda76f0cf778db1546c113bb83a0ed08e (patch)
tree30cf640f77e165fbeccdb9983a2b0b7b50bf10d7 /src/gui/windowmanager_unittest.cc
parentd0994f4298641d65700b1bbc90b4ba6effa58320 (diff)
downloadplus-ff6ee78dda76f0cf778db1546c113bb83a0ed08e.tar.gz
plus-ff6ee78dda76f0cf778db1546c113bb83a0ed08e.tar.bz2
plus-ff6ee78dda76f0cf778db1546c113bb83a0ed08e.tar.xz
plus-ff6ee78dda76f0cf778db1546c113bb83a0ed08e.zip
Load extra config values in windows test, for prevent wrong data.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r--src/gui/windowmanager_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index a7b73c598..9a06004c0 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -171,6 +171,7 @@ TEST_CASE("Windows tests", "windowmanager")
::remove(cfgName.c_str());
ConfigManager::initConfiguration();
+ getConfigDefaults2(config.getDefaultValues());
ConfigManager::initServerConfig("nonexistserver");
localPlayer = new LocalPlayer(static_cast<BeingId>(1),