summaryrefslogtreecommitdiff
path: root/tests/units/TaskMovedDateSubscriberTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/TaskMovedDateSubscriberTest.php')
-rw-r--r--tests/units/TaskMovedDateSubscriberTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/TaskMovedDateSubscriberTest.php b/tests/units/TaskMovedDateSubscriberTest.php
index e0364918..3b7e494b 100644
--- a/tests/units/TaskMovedDateSubscriberTest.php
+++ b/tests/units/TaskMovedDateSubscriberTest.php
@@ -54,8 +54,8 @@ class TaskMovedDateSubscriberTest extends Base
$now = time();
$this->assertEquals(1, $p->create(array('name' => 'Project #1')));
- $this->assertEquals(1, $s->create(1, 'S1'));
- $this->assertEquals(2, $s->create(1, 'S2'));
+ $this->assertEquals(1, $s->create(array('project_id' => 1, 'name' => 'S1')));
+ $this->assertEquals(2, $s->create(array('project_id' => 1, 'name' => 'S2')));
$this->assertEquals(1, $tc->create(array('title' => 'Task #1', 'project_id' => 1)));
$task = $tf->getById(1);