From 329430c547186888c11f6fa8c3cf5cd93d64ecba Mon Sep 17 00:00:00 2001 From: Vassyli Date: Mon, 12 Jun 2017 16:00:44 +0200 Subject: [PATCH] Fixed test --- tests/GameTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/GameTest.php b/tests/GameTest.php index 227555f..44402f2 100644 --- a/tests/GameTest.php +++ b/tests/GameTest.php @@ -210,7 +210,7 @@ class GameTest extends CoreModelTestCase // subscribe event $this->g->getEventManager()->subscribe('#h/lotgd/core/navigate-to/lotgd/tests/paramaters#', DefaultSceneProvider::class, 'lotgd/core/tests'); - $action = new Action(7, ["foo" => "baz"]); + $action = new Action(7, null, ["foo" => "baz"]); $actionId = $action->getId(); $ag = new ActionGroup("group1", "Group 1", 5); @@ -239,7 +239,7 @@ class GameTest extends CoreModelTestCase // subscribe event $this->g->getEventManager()->subscribe('#h/lotgd/core/navigate-to/lotgd/tests/paramaters#', DefaultSceneProvider::class, 'lotgd/core/tests'); - $action = new Action(7, ["foo" => "baz"]); + $action = new Action(7, null, ["foo" => "baz"]); $actionId = $action->getId(); $ag = new ActionGroup("group1", "Group 1", 5);