aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/dav_features/caldav.feature
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/dav_features/caldav.feature')
-rw-r--r--build/integration/dav_features/caldav.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/integration/dav_features/caldav.feature b/build/integration/dav_features/caldav.feature
index fffdd89d367..f7baf76d4bc 100644
--- a/build/integration/dav_features/caldav.feature
+++ b/build/integration/dav_features/caldav.feature
@@ -75,3 +75,13 @@ Feature: caldav
Then The CalDAV HTTP status code should be "404"
And The exception is "Sabre\DAV\Exception\NotFound"
And The error message is "Node with name 'admin' could not be found"
+
+ Scenario: Update a principal's schedule-default-calendar-URL
+ Given user "user0" exists
+ And "user0" creates a calendar named "MyCalendar2"
+ When "user0" updates property "{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL" to href "/remote.php/dav/calendars/user0/MyCalendar2/" of principal "users/user0" on the endpoint "/remote.php/dav/principals/"
+ Then The CalDAV response should be multi status
+ And The CalDAV response should contain a property "{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL"
+ When "user0" requests principal "users/user0" on the endpoint "/remote.php/dav/principals/"
+ Then The CalDAV response should be multi status
+ And The CalDAV response should contain a property "{urn:ietf:params:xml:ns:caldav}schedule-default-calendar-URL" with a href value "/remote.php/dav/calendars/user0/MyCalendar2/"