summaryrefslogtreecommitdiff
path: root/src/unittests/utils/chatutils.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 04:05:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 04:05:51 +0300
commit59d9b799fa5bf3c8ba99cc6f703b83751f1d3497 (patch)
tree16b29e2afda9f223f36e6a7d3f4659fb72d3d7e6 /src/unittests/utils/chatutils.cc
parentb9ce7a70632f31a3a4b29841ab034dbb297b295d (diff)
downloadplus-59d9b799fa5bf3c8ba99cc6f703b83751f1d3497.tar.gz
plus-59d9b799fa5bf3c8ba99cc6f703b83751f1d3497.tar.bz2
plus-59d9b799fa5bf3c8ba99cc6f703b83751f1d3497.tar.xz
plus-59d9b799fa5bf3c8ba99cc6f703b83751f1d3497.zip
Fix unit tests after last changes in configuration.cpp
Diffstat (limited to 'src/unittests/utils/chatutils.cc')
-rw-r--r--src/unittests/utils/chatutils.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unittests/utils/chatutils.cc b/src/unittests/utils/chatutils.cc
index 88e6bdf82..f0a72af26 100644
--- a/src/unittests/utils/chatutils.cc
+++ b/src/unittests/utils/chatutils.cc
@@ -63,8 +63,6 @@ TEST_CASE("chatutils replaceVars", "")
logger = new Logger();
VirtFs::mountDirSilent("data", Append_false);
VirtFs::mountDirSilent("../data", Append_false);
- theme = new Theme;
- Theme::selectSkin();
imageHelper = new SDLImageHelper();
mainGraphics = new SDLGraphics;
@@ -84,6 +82,9 @@ TEST_CASE("chatutils replaceVars", "")
setConfigDefaults2(config);
setBrandingDefaults(branding);
+ theme = new Theme;
+ Theme::selectSkin();
+
gui = new Gui();
gui->postInit(mainGraphics);