From 4aa99e949224279ad64be26806e2657e66bf5adf Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 27 Sep 2014 21:40:47 -0400 Subject: Hide users menu for non-admins (pull-request #284) --- tests/units/AclTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/units/AclTest.php') diff --git a/tests/units/AclTest.php b/tests/units/AclTest.php index e532d96c..83351616 100644 --- a/tests/units/AclTest.php +++ b/tests/units/AclTest.php @@ -90,7 +90,7 @@ class AclTest extends Base $this->assertFalse($acl->isPageAccessAllowed('user', 'remove')); $this->assertFalse($acl->isPageAccessAllowed('user', 'confirm')); $this->assertTrue($acl->isPageAccessAllowed('app', 'index')); - $this->assertTrue($acl->isPageAccessAllowed('user', 'index')); + $this->assertFalse($acl->isPageAccessAllowed('user', 'index')); $this->assertTrue($acl->isPageAccessAllowed('user', 'login')); $this->assertTrue($acl->isPageAccessAllowed('user', 'check')); $this->assertTrue($acl->isPageAccessAllowed('webhook', 'task')); -- cgit v1.2.3