summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager_unittest.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 3f77888d6..53448aeff 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -72,6 +72,7 @@
#include "gui/windows/mailwindow.h"
#include "gui/windows/minimap.h"
#include "gui/windows/ministatuswindow.h"
+#include "gui/windows/npcdialog.h"
#include "gui/windows/npcselldialog.h"
#include "gui/windows/okdialog.h"
#include "gui/windows/outfitwindow.h"
@@ -442,10 +443,10 @@ TEST_CASE("Windows tests", "windowmanager")
SECTION("NpcDialog")
{
// for now have random issue. Almost impossible to reproduce.
-// NpcDialog *dialog = CREATEWIDGETR(NpcDialog, BeingId_zero);
-// gui->draw();
-// mainGraphics->updateScreen();
-// delete2(dialog);
+ NpcDialog *dialog = CREATEWIDGETR(NpcDialog, BeingId_zero);
+ gui->draw();
+ mainGraphics->updateScreen();
+ delete2(dialog);
}
SECTION("NpcSellDialog")
{