diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-08 12:46:09 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 11:49:16 +0100 |
commit | 981c73000cce96276d2e9db899162f31226b146f (patch) | |
tree | a34920306ddcacd0a711131552513b65c884ddf3 /apps/dav/tests | |
parent | c9187cc82084e5b140f52cbaefa7d71c70f989a0 (diff) | |
download | nextcloud-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.php | 6 |
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(); |