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 | |
parent | cfac8c3bf717a49adcd3998ba90151abe747ab0b (diff) | |
download | plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.gz plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.bz2 plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.tar.xz plus-f273fca6e764ce7123d4ac0862bb0d5183c5eb01.zip |
Fix unit tests compilation.
-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); |