extend tests a bit

This commit is contained in:
Robin Appelman 2021-03-10 14:53:02 +01:00
commit d218982775
4 changed files with 50 additions and 13 deletions

View file

@ -82,15 +82,4 @@ class NativeShareTest extends AbstractShareTest {
);
$server->listShares();
}
public function testACL() {
$this->share->mkdir($this->root . "/test");
$listing = $this->share->dir($this->root);
$this->assertCount(1, $listing);
$acls = $listing[0]->getAcls();
$acl = $acls['Everyone'];
$this->assertEquals($acl->getType(), ACL::TYPE_ALLOW);
$this->assertEquals(ACL::MASK_READ, $acl->getMask() & ACL::MASK_READ);
}
}