From 54a751820f39e8891f775b8d9293349399b3e8c2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 22 May 2017 15:33:16 -0400 Subject: Add task and project API formatters --- tests/integration/ProjectProcedureTest.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/integration/ProjectProcedureTest.php') diff --git a/tests/integration/ProjectProcedureTest.php b/tests/integration/ProjectProcedureTest.php index 69c2464f..b55cfee2 100644 --- a/tests/integration/ProjectProcedureTest.php +++ b/tests/integration/ProjectProcedureTest.php @@ -28,6 +28,8 @@ class ProjectProcedureTest extends BaseProcedureTest $this->assertNotNull($project); $this->assertEquals($this->projectName, $project['name']); $this->assertEquals('Description', $project['description']); + $this->assertArrayHasKey('board', $project['url']); + $this->assertArrayHasKey('list', $project['url']); } public function assertGetProjectByName() @@ -43,6 +45,9 @@ class ProjectProcedureTest extends BaseProcedureTest { $projects = $this->app->getAllProjects(); $this->assertNotEmpty($projects); + $this->assertInternalType('array', $projects); + $this->assertArrayHasKey('board', $projects[0]['url']); + $this->assertArrayHasKey('list', $projects[0]['url']); } public function assertGetProjectActivity() -- cgit v1.2.3