From 0bd0beba411991844d5a9b44b1b51a6eb903dff7 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 22 Sep 2014 20:52:08 +0200 Subject: Fix broken unit test --- tests/units/AclTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3