mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-12 00:26:18 -04:00
test: make remote.php configurable
test: build dav paths test: fix paths test: merge method args test: add issue tags test: add new expected failure file test: merge expected-failure files before running tests
This commit is contained in:
@@ -14,10 +14,10 @@ Feature: delay post-processing of uploaded files
|
||||
When user "Alice" requests "<dav-path>" with "GET" without retrying
|
||||
Then the HTTP status code should be "425"
|
||||
Examples:
|
||||
| dav-path |
|
||||
| /remote.php/webdav/file.txt |
|
||||
| /remote.php/dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
| dav-path |
|
||||
| /webdav/file.txt |
|
||||
| /dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
|
||||
|
||||
Scenario Outline: user sends PROPFIND request to the file while it's still being processed
|
||||
@@ -26,10 +26,10 @@ Feature: delay post-processing of uploaded files
|
||||
Then the HTTP status code should be "207"
|
||||
And the value of the item "//d:response/d:propstat/d:status" in the response should be "HTTP/1.1 425 TOO EARLY"
|
||||
Examples:
|
||||
| dav-path |
|
||||
| /remote.php/webdav/file.txt |
|
||||
| /remote.php/dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
| dav-path |
|
||||
| /webdav/file.txt |
|
||||
| /dav/files/%username%/file.txt |
|
||||
| /dav/spaces/%spaceid%/file.txt |
|
||||
|
||||
|
||||
Scenario Outline: user sends PROPFIND request to the folder while files in the folder are still being processed
|
||||
@@ -40,7 +40,7 @@ Feature: delay post-processing of uploaded files
|
||||
And as user "Alice" the value of the item "//d:status" of path "<dav-path>/" in the response should be "HTTP/1.1 200 OK"
|
||||
And as user "Alice" the value of the item "//d:status" of path "<dav-path>/file.txt" in the response should be "HTTP/1.1 425 TOO EARLY"
|
||||
Examples:
|
||||
| dav-path |
|
||||
| /remote.php/webdav/my_data |
|
||||
| /remote.php/dav/files/%username%/my_data |
|
||||
| /dav/spaces/%spaceid%/my_data |
|
||||
| dav-path |
|
||||
| /webdav/my_data |
|
||||
| /dav/files/%username%/my_data |
|
||||
| /dav/spaces/%spaceid%/my_data |
|
||||
|
||||
Reference in New Issue
Block a user