[tests-only][full-ci] removing the setresponse in given/then step in FileVersionsContext (#7111)
* migrating set response from helper function to when step in preview feature * separate single when/then steps by converting to helper function * use of httpstatuscode check function in given step and rebased * change function name * remove use of setresponse in then step * set the returned response
This commit is contained in:
@@ -2673,7 +2673,7 @@ class SpacesContext implements Context {
|
||||
string $spaceName
|
||||
): void {
|
||||
$this->setSpaceIDByName($user, $spaceName);
|
||||
$this->filesVersionsContext->downloadVersion($user, $fileName, $index);
|
||||
$this->featureContext->setResponse($this->filesVersionsContext->downloadVersion($user, $fileName, $index));
|
||||
WebDavHelper::$SPACE_ID_FROM_OCIS = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user