Try reading the repository before checking.

I'm guessing here...
This commit is contained in:
nathangray 2018-08-29 10:47:57 -06:00
parent 2cf4904e1e
commit bc13945b7b

View File

@ -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']));