[tests-only] [full-ci] removing the setresponse in given/then step in publicwebdav context (#7439)
* refactored given steps * refactored some when stepa * refactored remaining when and then steps * use of when step for the action * changed line no in expected failure * remove and add same kind of steps in the scenario and refactored function names * adressing reviews
This commit is contained in:
@@ -619,7 +619,7 @@ class WebDavLockingContext implements Context {
|
||||
$headers = [
|
||||
"If" => "(<" . $this->tokenOfLastLock[$lockOwner][$itemToUseLockOf] . ">)"
|
||||
];
|
||||
$this->publicWebDavContext->publicUploadContent(
|
||||
$response = $this->publicWebDavContext->publicUploadContent(
|
||||
$filename,
|
||||
'',
|
||||
$content,
|
||||
@@ -627,6 +627,7 @@ class WebDavLockingContext implements Context {
|
||||
$headers,
|
||||
$publicWebDAVAPIVersion
|
||||
);
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user