From c110dffefe259c13e60193fb81ebb9d4b79504de Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 26 Jun 2016 12:34:20 -0400 Subject: Added new API call: "getProjectByIdentifier" --- tests/integration/ProjectProcedureTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/integration') diff --git a/tests/integration/ProjectProcedureTest.php b/tests/integration/ProjectProcedureTest.php index a4b65241..69c2464f 100644 --- a/tests/integration/ProjectProcedureTest.php +++ b/tests/integration/ProjectProcedureTest.php @@ -93,7 +93,8 @@ class ProjectProcedureTest extends BaseProcedureTest $this->assertNotFalse($projectId); - $project = $this->app->getProjectById($projectId); + $project = $this->app->getProjectByIdentifier('MYPROJECTWITHIDENTIFIER'); + $this->assertEquals($projectId, $project['id']); $this->assertEquals('My project with an identifier', $project['name']); $this->assertEquals('MYPROJECTWITHIDENTIFIER', $project['identifier']); } -- cgit v1.2.3