diff options
| author | Frederic Guillot <fred@kanboard.net> | 2015-09-05 11:23:51 -0400 |
|---|---|---|
| committer | Frederic Guillot <fred@kanboard.net> | 2015-09-05 11:23:51 -0400 |
| commit | bac18d80f8ff8fce9d167671273e80a492f4c3c5 (patch) | |
| tree | cdb950786eb3d8a92c7307695ce6680041b5a175 /tests/units/TaskMovedDateSubscriberTest.php | |
| parent | 69c5c83d34229c92a6b9c38c225a81058ab94047 (diff) | |
| parent | 42a3a56a91bbc6f1f8c913c8a990d9ea549d481b (diff) | |
Merge pull-request #1178
Diffstat (limited to 'tests/units/TaskMovedDateSubscriberTest.php')
| -rw-r--r-- | tests/units/TaskMovedDateSubscriberTest.php | 4 |
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); |
