diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-18 09:42:01 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-18 09:42:01 -0500 |
commit | de128dbad860478496a0d655b5eb5c1005ebbabe (patch) | |
tree | 7fee510e901273472731e8e843981268c593ec40 /tests/units/Model/TaskFinderModelTest.php | |
parent | 0430a09c069134622c0161dc2fb9ba3718a73c0d (diff) |
Remove default swimlane
Diffstat (limited to 'tests/units/Model/TaskFinderModelTest.php')
-rw-r--r-- | tests/units/Model/TaskFinderModelTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/units/Model/TaskFinderModelTest.php b/tests/units/Model/TaskFinderModelTest.php index 9e0369ce..1e3f61cb 100644 --- a/tests/units/Model/TaskFinderModelTest.php +++ b/tests/units/Model/TaskFinderModelTest.php @@ -51,7 +51,7 @@ class TaskFinderModelTest extends Base $this->assertEquals(0, $task['score']); $this->assertEquals(1, $task['category_id']); $this->assertEquals(0, $task['priority']); - $this->assertEquals(0, $task['swimlane_id']); + $this->assertEquals(1, $task['swimlane_id']); $this->assertEquals(TaskModel::RECURRING_STATUS_NONE, $task['recurrence_status']); $this->assertEquals(TaskModel::RECURRING_TRIGGER_FIRST_COLUMN, $task['recurrence_trigger']); $this->assertEquals(0, $task['recurrence_factor']); @@ -60,8 +60,7 @@ class TaskFinderModelTest extends Base $this->assertEquals(0, $task['recurrence_parent']); $this->assertEquals(0, $task['recurrence_child']); $this->assertEquals('C1', $task['category_name']); - $this->assertNull($task['swimlane_name']); - $this->assertEquals('Default swimlane', $task['default_swimlane']); + $this->assertEquals('Default swimlane', $task['swimlane_name']); $this->assertEquals('Project #1', $task['project_name']); $this->assertEquals('Backlog', $task['column_title']); $this->assertEquals('admin', $task['assignee_username']); |