summaryrefslogtreecommitdiff
path: root/tests/units/AclTest.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-27 21:40:47 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-09-27 21:40:47 -0400
commit4aa99e949224279ad64be26806e2657e66bf5adf (patch)
tree0b727f03da6049a8e74738d180326eab41cd6aa0 /tests/units/AclTest.php
parent3fa549352ca13d020a8cffaaad0db81b7c66c5b3 (diff)
Hide users menu for non-admins (pull-request #284)
Diffstat (limited to 'tests/units/AclTest.php')
-rw-r--r--tests/units/AclTest.php2
1 files changed, 1 insertions, 1 deletions
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'));