aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2019-09-15 13:24:09 +0200
committerThomas Citharel <tcit@tcit.fr>2021-06-25 14:26:18 +0200
commit8927205d8aa77d0dfa3e4699a3500ea75b82c896 (patch)
tree3c47b9d5a405fd07064cd70bf6559cefbac9535d /apps/dav/tests
parentf73478654dc39bae79aa6293a743d0bd7e0a7d9e (diff)
downloadnextcloud-server-8927205d8aa77d0dfa3e4699a3500ea75b82c896.tar.gz
nextcloud-server-8927205d8aa77d0dfa3e4699a3500ea75b82c896.zip
Make default calendar only contain VEVENTS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/DAV/HookManagerTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/DAV/HookManagerTest.php b/apps/dav/tests/unit/DAV/HookManagerTest.php
index e86c84e56de..d3cdfbf68f7 100644
--- a/apps/dav/tests/unit/DAV/HookManagerTest.php
+++ b/apps/dav/tests/unit/DAV/HookManagerTest.php
@@ -92,7 +92,8 @@ class HookManagerTest extends TestCase {
'principals/users/newUser',
'personal', [
'{DAV:}displayname' => 'Personal',
- '{http://apple.com/ns/ical/}calendar-color' => '#745bca'
+ '{http://apple.com/ns/ical/}calendar-color' => '#745bca',
+ 'components' => 'VEVENT'
]);
/** @var CardDavBackend | \PHPUnit\Framework\MockObject\MockObject $card */
@@ -178,7 +179,8 @@ class HookManagerTest extends TestCase {
'principals/users/newUser',
'personal', [
'{DAV:}displayname' => 'Personal',
- '{http://apple.com/ns/ical/}calendar-color' => '#745bca'
+ '{http://apple.com/ns/ical/}calendar-color' => '#745bca',
+ 'components' => 'VEVENT'
]);
/** @var CardDavBackend | \PHPUnit\Framework\MockObject\MockObject $card */