26 $this->assertEquals($expected,
$result);
37 $plugin->allowUnauthenticatedAccess =
false;
41 '{DAV:}group-member-set' => null,
45 '{DAV:}group-member-set' => 204
48 $this->assertEquals($expected,
$result);
49 $this->assertEquals([],
$tree[0]->getGroupMemberSet());
60 $plugin->allowUnauthenticatedAccess =
false;
64 '{DAV:}group-member-set' =>
new DAV\Xml\Property\
Href([
'/bar',
'/baz'],
true),
68 '{DAV:}group-member-set' => 200
71 $this->assertEquals($expected,
$result);
72 $this->assertEquals([
'bar',
'baz'],
$tree[0]->getGroupMemberSet());
86 $plugin->allowUnauthenticatedAccess =
false;
90 '{DAV:}group-member-set' =>
new \StdClass(),
102 $plugin->allowUnauthenticatedAccess =
false;
106 '{DAV:}group-member-set' =>
new DAV\Xml\Property\
Href([
'/bar',
'/baz'],
false),
110 '{DAV:}group-member-set' => 403,
113 $this->assertEquals($expected,
$result);
testUpdatePropertiesPassthrough()