summaryrefslogtreecommitdiff
path: root/src/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests')
-rw-r--r--src/unittests/gui/windowmanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc
index b7f1eee43..92ea50920 100644
--- a/src/unittests/gui/windowmanager.cc
+++ b/src/unittests/gui/windowmanager.cc
@@ -452,7 +452,7 @@ TEST_CASE("Windows tests", "windowmanager")
}
SECTION("InventoryWindow")
{
- Inventory *inventory = new Inventory(InventoryType::Inventory);
+ Inventory *inventory = new Inventory(InventoryType::Inventory, -1);
InventoryWindow *dialog = CREATEWIDGETR(InventoryWindow,
inventory);
gui->draw();