From bc13945b7b60df72299b86c0dcae238ffc7e5ca0 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 29 Aug 2018 10:47:57 -0600 Subject: [PATCH] Try reading the repository before checking. I'm guessing here... --- admin/tests/AclCommandTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/tests/AclCommandTest.php b/admin/tests/AclCommandTest.php index dac9aeb894..81c152ec62 100644 --- a/admin/tests/AclCommandTest.php +++ b/admin/tests/AclCommandTest.php @@ -251,6 +251,8 @@ class AclCommandTest extends CommandBase { // Check group $acl = new Acl($this->group_id); + $acl->read_repository(); + var_dump($acl->get_rights($data['location'])); $this->assertFalse($acl->check($data['location'], Acl::ADD, static::APP)); $this->assertEquals(0, $acl->get_specific_rights($data['location'], $data['app']));