summaryrefslogtreecommitdiff
path: root/tests/units/Formatter/TaskListFormatterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Formatter/TaskListFormatterTest.php')
-rw-r--r--tests/units/Formatter/TaskListFormatterTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/units/Formatter/TaskListFormatterTest.php b/tests/units/Formatter/TaskListFormatterTest.php
index a6e44d38..d079ed7e 100644
--- a/tests/units/Formatter/TaskListFormatterTest.php
+++ b/tests/units/Formatter/TaskListFormatterTest.php
@@ -37,11 +37,13 @@ class TaskListFormatterTest extends Base
'id' => 1,
'name' => 'My tag 1',
'task_id' => 1,
+ 'color_id' => null,
),
array(
'id' => 2,
'name' => 'My tag 2',
'task_id' => 1,
+ 'color_id' => null,
),
);
@@ -52,10 +54,11 @@ class TaskListFormatterTest extends Base
'id' => 3,
'name' => 'My tag 3',
'task_id' => 2,
+ 'color_id' => null,
),
);
$this->assertEquals($expected, $listing[1]['tags']);
$this->assertEquals(array(), $listing[2]['tags']);
}
-} \ No newline at end of file
+}