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/TaskFilterTest.php | |
| parent | 69c5c83d34229c92a6b9c38c225a81058ab94047 (diff) | |
| parent | 42a3a56a91bbc6f1f8c913c8a990d9ea549d481b (diff) | |
Merge pull-request #1178
Diffstat (limited to 'tests/units/TaskFilterTest.php')
| -rw-r--r-- | tests/units/TaskFilterTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/TaskFilterTest.php b/tests/units/TaskFilterTest.php index 1ae1e5b8..07a34691 100644 --- a/tests/units/TaskFilterTest.php +++ b/tests/units/TaskFilterTest.php @@ -335,8 +335,8 @@ class TaskFilterTest extends Base $s = new Swimlane($this->container); $this->assertEquals(1, $p->create(array('name' => 'My project A'))); - $this->assertEquals(1, $s->create(1, 'Version 1.1')); - $this->assertEquals(2, $s->create(1, 'Version 1.2')); + $this->assertEquals(1, $s->create(array('project_id' => 1, 'name' => 'Version 1.1'))); + $this->assertEquals(2, $s->create(array('project_id' => 1, 'name' => 'Version 1.2'))); $this->assertNotFalse($tc->create(array('project_id' => 1, 'title' => 'task1', 'swimlane_id' => 1))); $this->assertNotFalse($tc->create(array('project_id' => 1, 'title' => 'task2', 'swimlane_id' => 2))); $this->assertNotFalse($tc->create(array('project_id' => 1, 'title' => 'task3', 'swimlane_id' => 0))); |
