diff options
Diffstat (limited to 'tests/units/Job')
-rw-r--r-- | tests/units/Job/TaskEventJobTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Job/TaskEventJobTest.php b/tests/units/Job/TaskEventJobTest.php index bfd7bc55..d8c4bb8b 100644 --- a/tests/units/Job/TaskEventJobTest.php +++ b/tests/units/Job/TaskEventJobTest.php @@ -162,9 +162,9 @@ class TaskEventJobTest extends Base $swimlaneModel = new SwimlaneModel($this->container); $this->assertEquals(1, $projectModel->create(array('name' => 'test1'))); - $this->assertEquals(1, $swimlaneModel->create(array('name' => 'S1', 'project_id' => 1))); + $this->assertEquals(2, $swimlaneModel->create(1, 'S1')); $this->assertEquals(1, $taskCreationModel->create(array('title' => 'test 1', 'project_id' => 1))); - $this->assertTrue($taskPositionModel->movePosition(1, 1, 1, 1, 1)); + $this->assertTrue($taskPositionModel->movePosition(1, 1, 1, 1, 2)); $called = $this->container['dispatcher']->getCalledListeners(); $this->assertArrayHasKey(TaskModel::EVENT_MOVE_SWIMLANE.'.closure', $called); |