[tests-only] [full-ci] removing the setresponse in given/then step in webdav context (#7403)
* refactoring the given steps in the webdav context * refactored remaining given/when/then steps * return file id * trim trailing from the folder path * add missing when step and make other minor corrections * set responseXml and correct status code check * correct the naming of steps and helper functions
This commit is contained in:
@@ -130,7 +130,6 @@ Feature: multi-link sharing
|
||||
| permissions | read |
|
||||
| name | sharedlink2 |
|
||||
And user "Alice" has deleted file "/textfile0.txt"
|
||||
And the HTTP status code should be "204"
|
||||
When user "Alice" uploads file "filesForUpload/textfile.txt" to "/textfile0.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "201"
|
||||
And as user "Alice" the file "/textfile0.txt" should not have any shares
|
||||
|
||||
Reference in New Issue
Block a user