diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-22 20:52:08 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-22 20:52:08 +0200 |
commit | 0bd0beba411991844d5a9b44b1b51a6eb903dff7 (patch) | |
tree | 54805513a2101bf8b78e7aa9c1d87e0c4f7f3845 /tests/units | |
parent | 21c50fb7fa80f004418972aa24e52225187f1ebe (diff) |
Fix broken unit test
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/AclTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/AclTest.php b/tests/units/AclTest.php index 7dff0a69..e532d96c 100644 --- a/tests/units/AclTest.php +++ b/tests/units/AclTest.php @@ -80,7 +80,7 @@ class AclTest extends Base $this->assertFalse($acl->isPageAccessAllowed('user', 'index')); $this->assertTrue($acl->isPageAccessAllowed('user', 'login')); $this->assertTrue($acl->isPageAccessAllowed('user', 'check')); - $this->assertTrue($acl->isPageAccessAllowed('task', 'add')); + $this->assertTrue($acl->isPageAccessAllowed('webhook', 'task')); $this->assertTrue($acl->isPageAccessAllowed('board', 'readonly')); // Regular user @@ -93,7 +93,7 @@ class AclTest extends Base $this->assertTrue($acl->isPageAccessAllowed('user', 'index')); $this->assertTrue($acl->isPageAccessAllowed('user', 'login')); $this->assertTrue($acl->isPageAccessAllowed('user', 'check')); - $this->assertTrue($acl->isPageAccessAllowed('task', 'add')); + $this->assertTrue($acl->isPageAccessAllowed('webhook', 'task')); $this->assertTrue($acl->isPageAccessAllowed('board', 'readonly')); // Admin user |