[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:
Karun Atreya
2023-10-11 16:15:31 +05:45
committed by GitHub
parent 37208139f4
commit 903ab8e1f8
8 changed files with 537 additions and 272 deletions
@@ -3189,7 +3189,7 @@ class FeatureContext extends BehatVariablesContext {
*/
public function deleteAllResourceCreatedByAdmin(): void {
foreach ($this->adminResources as $resource) {
$this->userDeletesFile("admin", $resource);
$this->deleteFile("admin", $resource);
}
}