summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-06-08 09:21:56 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-06-08 09:21:56 +0200
commit0f1d47cdf3d2923f3ea85d4601e0a31d8e8e4e1e (patch)
treeecc8f6f8c6d86159e44627c9209ab908d521cd66 /apps/dav/tests
parenta74901fce17da6d88dbb82373fff523b834d692d (diff)
downloadnextcloud-server-0f1d47cdf3d2923f3ea85d4601e0a31d8e8e4e1e.tar.gz
nextcloud-server-0f1d47cdf3d2923f3ea85d4601e0a31d8e8e4e1e.zip
allow users to send PropPatch request when calendar is group-shared with them
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CalDAV/CalendarTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/CalDAV/CalendarTest.php b/apps/dav/tests/unit/CalDAV/CalendarTest.php
index cf295f01065..51ae6cd37c2 100644
--- a/apps/dav/tests/unit/CalDAV/CalendarTest.php
+++ b/apps/dav/tests/unit/CalDAV/CalendarTest.php
@@ -205,6 +205,12 @@ class CalendarTest extends TestCase {
'principal' => 'user2',
'protected' => true
];
+ } else {
+ $expectedAcl[] = [
+ 'privilege' => '{DAV:}write-properties',
+ 'principal' => 'user2',
+ 'protected' => true
+ ];
}
}
$this->assertEquals($expectedAcl, $acl);