aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/dav_features/caldav.feature
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2024-02-21 22:29:09 +0100
committerRichard Steinmetz <richard@steinmetz.cloud>2024-02-28 14:51:10 +0100
commit53ef6c5f712bf910c2c976e1a1b6eb142349b5c2 (patch)
tree52887c3bf3971a86ad15bdf4d7284b476a6e4fe0 /build/integration/dav_features/caldav.feature
parent7cc20468f13cddb433a35a58e048ce8c4ce43f1d (diff)
downloadnextcloud-server-53ef6c5f712bf910c2c976e1a1b6eb142349b5c2.tar.gz
nextcloud-server-53ef6c5f712bf910c2c976e1a1b6eb142349b5c2.zip
feat(dav): update a principal's schedule-default-calendar-URL
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
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/"