summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-09 07:13:48 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-09 07:13:48 +0200
commit0d4b6525dd86f837eb9e931e48a92fc6a0033e11 (patch)
treec876d0bdcb8f36b47442d020ea0e1572e21b7b3c /tests
parente383c069f1aeba49ea9905f77a51bf663e614b0e (diff)
The color is not mandatory for task creation through the API
Diffstat (limited to 'tests')
-rw-r--r--tests/units/TaskTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/units/TaskTest.php b/tests/units/TaskTest.php
index 1269352e..3d1a5e49 100644
--- a/tests/units/TaskTest.php
+++ b/tests/units/TaskTest.php
@@ -21,6 +21,7 @@ class TaskTest extends Base
$this->assertEquals(1, $task['id']);
$this->assertEquals(1, $task['column_id']);
$this->assertEquals(1, $task['position']);
+ $this->assertEquals('yellow', $task['color_id']);
$this->assertEquals(time(), $task['date_creation']);
$this->assertEquals(time(), $task['date_modification']);