diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-11-22 18:24:36 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-19 15:47:25 +0100 |
commit | 734e55da953e594c11ff24d8f126c751a1801d46 (patch) | |
tree | 05c61d67d1d7a1b5cf331f61a4d20f9a8df0bd2c /build/integration/features/webdav-related.feature | |
parent | 2ae15ad37b77b1bba7ddc3a73d5d9444089839ee (diff) | |
download | nextcloud-server-734e55da953e594c11ff24d8f126c751a1801d46.tar.gz nextcloud-server-734e55da953e594c11ff24d8f126c751a1801d46.zip |
Add test for duplicate 401 headers on DAV
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration/features/webdav-related.feature')
-rw-r--r-- | build/integration/features/webdav-related.feature | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index b75fdd35618..3a1b6fd93f2 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -2,6 +2,22 @@ Feature: webdav-related Background: Given using api version "1" + Scenario: Unauthenticated call old dav path + Given using old dav path + When connecting to dav endpoint + Then the HTTP status code should be "401" + And there are no duplicate headers + And The following headers should be set + |WWW-Authenticate|Basic realm="ownCloud"| + + Scenario: Unauthenticated call new dav path + Given using new dav path + When connecting to dav endpoint + Then the HTTP status code should be "401" + And there are no duplicate headers + And The following headers should be set + |WWW-Authenticate|Basic realm="ownCloud"| + Scenario: Moving a file Given using old dav path And As an "admin" |