summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-26 12:34:20 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-26 12:34:20 -0400
commitc110dffefe259c13e60193fb81ebb9d4b79504de (patch)
treebdeda4701f4f85b6a20615515b54192d66faf501 /tests/integration
parentb48c0cecbb1f687641594430260a67938d870cbb (diff)
Added new API call: "getProjectByIdentifier"
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/ProjectProcedureTest.php3
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']);
}