Added new API call: "getProjectByIdentifier"

This commit is contained in:
Frederic Guillot
2016-06-26 12:34:20 -04:00
parent b48c0cecbb
commit c110dffefe
3 changed files with 12 additions and 3 deletions

View File

@@ -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']);
}