diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-06-08 09:21:56 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-06-08 09:21:56 +0200 |
commit | 0f1d47cdf3d2923f3ea85d4601e0a31d8e8e4e1e (patch) | |
tree | ecc8f6f8c6d86159e44627c9209ab908d521cd66 /apps/dav/tests | |
parent | a74901fce17da6d88dbb82373fff523b834d692d (diff) | |
download | nextcloud-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.php | 6 |
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); |