diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-05-22 15:33:16 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-05-22 15:33:16 -0400 |
commit | 54a751820f39e8891f775b8d9293349399b3e8c2 (patch) | |
tree | 777636eb37fd2dc3af959171a64eb14933641dec /tests/integration/TaskProcedureTest.php | |
parent | f16ac8cd66b107f04db78a70521a959eca85159a (diff) |
Add task and project API formatters
Diffstat (limited to 'tests/integration/TaskProcedureTest.php')
-rw-r--r-- | tests/integration/TaskProcedureTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/TaskProcedureTest.php b/tests/integration/TaskProcedureTest.php index f456ae52..54527939 100644 --- a/tests/integration/TaskProcedureTest.php +++ b/tests/integration/TaskProcedureTest.php @@ -28,6 +28,7 @@ class TaskProcedureTest extends BaseProcedureTest $this->assertNotNull($task); $this->assertEquals('red', $task['color_id']); $this->assertEquals($this->taskTitle, $task['title']); + $this->assertArrayHasKey('url', $task); } public function assertGetTaskByReference() @@ -45,6 +46,7 @@ class TaskProcedureTest extends BaseProcedureTest $tasks = $this->app->getAllTasks($this->projectId); $this->assertInternalType('array', $tasks); $this->assertNotEmpty($tasks); + $this->assertArrayHasKey('url', $tasks[0]); } public function assertOpenCloseTask() |