summaryrefslogtreecommitdiff
path: root/tests/units/ProjectPermissionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/ProjectPermissionTest.php')
-rw-r--r--tests/units/ProjectPermissionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/ProjectPermissionTest.php b/tests/units/ProjectPermissionTest.php
index 394e0ac5..b169b63e 100644
--- a/tests/units/ProjectPermissionTest.php
+++ b/tests/units/ProjectPermissionTest.php
@@ -11,8 +11,8 @@ class ProjectPermissionTest extends Base
public function testAllowEverybody()
{
$user = new User($this->container);
- $this->assertTrue($user->create(array('username' => 'unittest#1', 'password' => 'unittest')));
- $this->assertTrue($user->create(array('username' => 'unittest#2', 'password' => 'unittest')));
+ $this->assertNotFalse($user->create(array('username' => 'unittest#1', 'password' => 'unittest')));
+ $this->assertNotFalse($user->create(array('username' => 'unittest#2', 'password' => 'unittest')));
$p = new Project($this->container);
$pp = new ProjectPermission($this->container);