summaryrefslogtreecommitdiffstats
path: root/build/integration/features/caldav.feature
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-05 20:55:39 -0500
committerGitHub <noreply@github.com>2017-04-05 20:55:39 -0500
commitb084ceec3d8635b1e91d9db5e640a3016efc88b2 (patch)
tree523ad765f8991cc3fe8f50b0e43a029bb926cd37 /build/integration/features/caldav.feature
parent7d9688c89ed9178bdbedfb9fb38774a73c6e0ffe (diff)
parent63288ebc501739abb4da657eac49d4165f690dd3 (diff)
downloadnextcloud-server-b084ceec3d8635b1e91d9db5e640a3016efc88b2.tar.gz
nextcloud-server-b084ceec3d8635b1e91d9db5e640a3016efc88b2.zip
Merge pull request #4224 from nextcloud/dont-list-on-public-calendar-endpoint
Don't list on public calendar endpoints
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