summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/AclTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/AclTest.php b/tests/units/AclTest.php
index 3c18beae..41af8950 100644
--- a/tests/units/AclTest.php
+++ b/tests/units/AclTest.php
@@ -59,7 +59,6 @@ class AclTest extends Base
$this->assertTrue($acl->isManagerAction('project', 'disable'));
$this->assertTrue($acl->isManagerAction('category', 'index'));
$this->assertTrue($acl->isManagerAction('project', 'users'));
- $this->assertTrue($acl->isManagerAction('task', 'remove'));
$this->assertFalse($acl->isManagerAction('app', 'index'));
}
@@ -183,7 +182,8 @@ class AclTest extends Base
$this->assertTrue($acl->isAllowed('project', 'show', 1));
$this->assertFalse($acl->isAllowed('config', 'application', 1));
$this->assertFalse($acl->isAllowed('project', 'users', 1));
- $this->assertFalse($acl->isAllowed('task', 'remove', 1));
+ $this->assertTrue($acl->isAllowed('task', 'remove', 1));
+ $this->assertFalse($acl->isAllowed('task', 'remove', 2));
$this->assertTrue($acl->isAllowed('app', 'index', 1));
}