summaryrefslogtreecommitdiff
path: root/tests/units/TaskFilterTest.php
diff options
context:
space:
mode:
authorFabiano Pereira <fabiano.pereira@serpro.gov.br>2015-09-03 16:27:28 -0300
committerFabiano Pereira <fabiano.pereira@serpro.gov.br>2015-09-03 16:27:28 -0300
commit399a7c33bbcabe4a5bde1a9b2a1f2c2922ad07b5 (patch)
treecf2381b33ba22c8ab9909fc7ebdeb8e3d4388d8a /tests/units/TaskFilterTest.php
parentde91d5820b9f987b17bea245ecf999b8e6aa7a81 (diff)
#1144 Add description field to swimlane.
Diffstat (limited to 'tests/units/TaskFilterTest.php')
-rw-r--r--tests/units/TaskFilterTest.php4
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)));