diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-26 12:34:20 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-26 12:34:20 -0400 |
commit | c110dffefe259c13e60193fb81ebb9d4b79504de (patch) | |
tree | bdeda4701f4f85b6a20615515b54192d66faf501 /tests | |
parent | b48c0cecbb1f687641594430260a67938d870cbb (diff) |
Added new API call: "getProjectByIdentifier"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/ProjectProcedureTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
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']); } |