summaryrefslogtreecommitdiff
path: root/tests/units/Job
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-23 22:50:20 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-23 22:50:20 -0400
commit5884c65a02a13dd396525d0b8d1720d1c062a96e (patch)
treec480362ec790adbd2fe331164ac5b5494316e15f /tests/units/Job
parent24555080fd3ca8607f0a798b5a0e4be98ff131f8 (diff)
Remove SubtaskTimeTrackingSubscriber
Diffstat (limited to 'tests/units/Job')
-rw-r--r--tests/units/Job/SubtaskEventJobTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Job/SubtaskEventJobTest.php b/tests/units/Job/SubtaskEventJobTest.php
index 66c3db05..bdc30b51 100644
--- a/tests/units/Job/SubtaskEventJobTest.php
+++ b/tests/units/Job/SubtaskEventJobTest.php
@@ -41,7 +41,7 @@ class SubtaskEventJobTest extends Base
$this->assertEquals(1, $projectModel->create(array('name' => 'test1')));
$this->assertEquals(1, $taskCreationModel->create(array('title' => 'test', 'project_id' => 1)));
$this->assertEquals(1, $subtaskModel->create(array('task_id' => 1, 'title' => 'before')));
- $this->assertTrue($subtaskModel->update(array('id' => 1, 'title' => 'after')));
+ $this->assertTrue($subtaskModel->update(array('id' => 1, 'task_id' => 1, 'title' => 'after')));
$this->assertTrue($subtaskModel->remove(1));
$called = $this->container['dispatcher']->getCalledListeners();