From 339c990577a0c6fa8fd99959fe52aa25eff59c8f Mon Sep 17 00:00:00 2001 From: Fabiano Pereira Date: Thu, 3 Sep 2015 16:27:28 -0300 Subject: #1144 Add description field to swimlane. --- tests/units/TaskFilterTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/units/TaskFilterTest.php') 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))); -- cgit v1.2.3