summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-08 12:46:09 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-18 11:49:16 +0100
commit981c73000cce96276d2e9db899162f31226b146f (patch)
treea34920306ddcacd0a711131552513b65c884ddf3 /apps/dav/tests
parentc9187cc82084e5b140f52cbaefa7d71c70f989a0 (diff)
downloadnextcloud-server-981c73000cce96276d2e9db899162f31226b146f.tar.gz
nextcloud-server-981c73000cce96276d2e9db899162f31226b146f.zip
Prevent deletion of birthday calendar
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/caldav/calendartest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/caldav/calendartest.php b/apps/dav/tests/unit/caldav/calendartest.php
index 93b3f4bff8c..4a3c94e8aba 100644
--- a/apps/dav/tests/unit/caldav/calendartest.php
+++ b/apps/dav/tests/unit/caldav/calendartest.php
@@ -37,7 +37,8 @@ class CalendarTest extends TestCase {
$calendarInfo = [
'{http://owncloud.org/ns}owner-principal' => 'user1',
'principaluri' => 'user2',
- 'id' => 666
+ 'id' => 666,
+ 'uri' => 'cal',
];
$c = new Calendar($backend, $calendarInfo);
$c->delete();
@@ -56,7 +57,8 @@ class CalendarTest extends TestCase {
$calendarInfo = [
'{http://owncloud.org/ns}owner-principal' => 'user1',
'principaluri' => 'user2',
- 'id' => 666
+ 'id' => 666,
+ 'uri' => 'cal',
];
$c = new Calendar($backend, $calendarInfo);
$c->delete();