summaryrefslogtreecommitdiffstats
path: root/build/integration
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 21:19:39 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 21:19:39 +0200
commitf93db724d7905d9858af2d2d4cf083c20b9c28de (patch)
treed28d144fe25f87c3291427ab26eaac84c716e8b1 /build/integration
parentba7b6bd97336646942649a4411c58d94b5753f2f (diff)
downloadnextcloud-server-f93db724d7905d9858af2d2d4cf083c20b9c28de.tar.gz
nextcloud-server-f93db724d7905d9858af2d2d4cf083c20b9c28de.zip
Make legacy DAV backend use the BearerAuth backend as well
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration')
-rw-r--r--build/integration/features/auth.feature6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/integration/features/auth.feature b/build/integration/features/auth.feature
index edcca4bcd4e..679b2465659 100644
--- a/build/integration/features/auth.feature
+++ b/build/integration/features/auth.feature
@@ -53,10 +53,14 @@ Feature: auth
When requesting "/remote.php/webdav" with "PROPFIND" using restricted basic token auth
Then the HTTP status code should be "207"
- Scenario: using WebDAV with restricted basic token auth
+ Scenario: using old WebDAV endpoint with unrestricted client token
When requesting "/remote.php/webdav" with "PROPFIND" using an unrestricted client token
Then the HTTP status code should be "207"
+ Scenario: using new WebDAV endpoint with unrestricted client token
+ When requesting "/remote.php/dav/" with "PROPFIND" using an unrestricted client token
+ Then the HTTP status code should be "207"
+
Scenario: using WebDAV with browser session
Given a new browser session is started
When requesting "/remote.php/webdav" with "PROPFIND" using browser session