diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-02 02:20:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-02 02:20:04 +0300 |
commit | f273fca6e764ce7123d4ac0862bb0d5183c5eb01 (patch) | |
tree | b4df47f651fb3bc330056a5f9a980687eacf6afa /src | |
parent | cfac8c3bf717a49adcd3998ba90151abe747ab0b (diff) | |
download | mv-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.gz mv-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.bz2 mv-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.xz mv-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.zip |
Fix unit tests compilation.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 6 |
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); |