diff options
-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 |