fix after review
This commit is contained in:
committed by
Phil Davis
parent
e05dc0e57e
commit
1ff8665b78
@@ -9,14 +9,13 @@ Feature: Copy test
|
||||
And using spaces DAV path
|
||||
And the administrator has given "Alice" the role "Space Admin" using the settings api
|
||||
And user "Alice" has created a space "new-space" with the default quota using the GraphApi
|
||||
|
||||
|
||||
|
||||
Scenario: check the COPY response headers
|
||||
Given user "Alice" has uploaded a file inside space "new-space" with content "some content" to "testfile.txt"
|
||||
And user "Alice" has created a folder "new" in space "new-space"
|
||||
When user "Alice" copies file "testfile.txt" from space "new-space" to "/new/testfile.txt" inside space "new-space" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And for user "Alice" the COPY response headers for the space "new-space" should contain these key and value pairs:
|
||||
| key | value |
|
||||
| Access-Control-Allow-Origin | * |
|
||||
| Oc-Fileid | UUIDof:/new/testfile.txt |
|
||||
And the following headers should match these regular expressions
|
||||
| Oc-Fileid | /^[a-f0-9!\$\-]{110}$/ |
|
||||
| Access-Control-Allow-Origin | /^[*]{1}$/ |
|
||||
|
||||
Reference in New Issue
Block a user