summaryrefslogtreecommitdiffstats
path: root/build/integration/features/caldav.feature
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-04-05 22:43:05 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-04-05 22:43:05 +0200
commit63288ebc501739abb4da657eac49d4165f690dd3 (patch)
tree74203bb3d18dfe3c9ef1ee5fbe812aa35042c370 /build/integration/features/caldav.feature
parent00558de782e93d2f5b7d73c0197fdf38261003f9 (diff)
downloadnextcloud-server-63288ebc501739abb4da657eac49d4165f690dd3.tar.gz
nextcloud-server-63288ebc501739abb4da657eac49d4165f690dd3.zip
Don't list on public calendar endpoints
There is no need to allow listing here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration/features/caldav.feature')
-rw-r--r--build/integration/features/caldav.feature9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/integration/features/caldav.feature b/build/integration/features/caldav.feature
index 5c3983fc40b..2bddbc3e9e4 100644
--- a/build/integration/features/caldav.feature
+++ b/build/integration/features/caldav.feature
@@ -50,3 +50,12 @@ Feature: caldav
Then The CalDAV HTTP status code should be "201"
And "admin" requests calendar "admin/MyCalendar" on the endpoint "/remote.php/dav/calendars/"
Then The CalDAV HTTP status code should be "207"
+
+ Scenario: Propfind on public calendar endpoint without calendars
+ When "admin" creates a calendar named "MyCalendar"
+ Then The CalDAV HTTP status code should be "201"
+ And "admin" publicly shares the calendar named "MyCalendar"
+ Then The CalDAV HTTP status code should be "202"
+ When "admin" requests calendar "/" on the endpoint "/remote.php/dav/public-calendars"
+ Then The CalDAV HTTP status code should be "207"
+ Then There should be "0" calendars in the response body \ No newline at end of file