summaryrefslogtreecommitdiff
path: root/tests/units/ProjectTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-19 19:23:42 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-19 19:23:42 -0400
commitf190be9e2d4d285fb71d84e5d3884206067cf7af (patch)
treeca0c4bd21eeb85102731b79eb5dda526655ce82b /tests/units/ProjectTest.php
parentac86c3100a1030026024c33c1cf02ec79f08ff51 (diff)
Add Sendgrid integration (incoming email handling)
Diffstat (limited to 'tests/units/ProjectTest.php')
-rw-r--r--tests/units/ProjectTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/units/ProjectTest.php b/tests/units/ProjectTest.php
index 231d403f..9f49af8a 100644
--- a/tests/units/ProjectTest.php
+++ b/tests/units/ProjectTest.php
@@ -231,6 +231,9 @@ class ProjectTest extends Base
$this->assertNotEmpty($project);
$this->assertEquals('TEST1', $project['identifier']);
+ $project = $p->getByIdentifier('');
+ $this->assertFalse($project);
+
// Validation rules
$r = $p->validateCreation(array('name' => 'test', 'identifier' => 'TEST1'));
$this->assertFalse($r[0]);