diff options
Diffstat (limited to 'tests/units/TaskPermissionTest.php')
-rw-r--r-- | tests/units/TaskPermissionTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/TaskPermissionTest.php b/tests/units/TaskPermissionTest.php index 963864b2..4b0b2b61 100644 --- a/tests/units/TaskPermissionTest.php +++ b/tests/units/TaskPermissionTest.php @@ -20,8 +20,8 @@ class TaskPermissionTest extends Base $p = new Project($this->container); $u = new User($this->container); - $this->assertTrue($u->create(array('username' => 'toto', 'password' => '123456'))); - $this->assertTrue($u->create(array('username' => 'toto2', 'password' => '123456'))); + $this->assertNotFalse($u->create(array('username' => 'toto', 'password' => '123456'))); + $this->assertNotFalse($u->create(array('username' => 'toto2', 'password' => '123456'))); $this->assertEquals(1, $p->create(array('name' => 'Project #1'))); $this->assertEquals(1, $tc->create(array('title' => 'Task #1', 'project_id' => 1, 'creator_id' => 1))); $this->assertEquals(2, $tc->create(array('title' => 'Task #2', 'project_id' => 1, 'creator_id' => 2))); |