forked from extern/egroupware
Try reading the repository before checking.
I'm guessing here...
This commit is contained in:
parent
2cf4904e1e
commit
bc13945b7b
@ -251,6 +251,8 @@ class AclCommandTest extends CommandBase {
|
|||||||
|
|
||||||
// Check group
|
// Check group
|
||||||
$acl = new Acl($this->group_id);
|
$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->assertFalse($acl->check($data['location'], Acl::ADD, static::APP));
|
||||||
$this->assertEquals(0, $acl->get_specific_rights($data['location'], $data['app']));
|
$this->assertEquals(0, $acl->get_specific_rights($data['location'], $data['app']));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user