summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-02 02:20:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-02 02:20:04 +0300
commitf273fca6e764ce7123d4ac0862bb0d5183c5eb01 (patch)
treeb4df47f651fb3bc330056a5f9a980687eacf6afa /src
parentcfac8c3bf717a49adcd3998ba90151abe747ab0b (diff)
downloadplus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.gz
plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.bz2
plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.xz
plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.zip
Fix unit tests compilation.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windowmanager_unittest.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index b9c848821..c3c62724c 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -27,6 +27,8 @@
#include "being/being.h"
+#include "const/resources/currency.h"
+
#include "gui/gui.h"
#include "gui/mailmessage.h"
#include "gui/userpalette.h"
@@ -182,7 +184,9 @@ TEST_CASE("Windows tests", "windowmanager")
SECTION("buyDialog")
{
BuyDialog *dialog;
- CREATEWIDGETV(dialog, BuyDialog, BeingId_zero);
+ CREATEWIDGETV(dialog, BuyDialog,
+ BeingId_zero,
+ DEFAULT_CURRENCY);
gui->draw();
mainGraphics->updateScreen();
delete2(dialog);