beautify feature file

This commit is contained in:
Sabin
2024-11-08 10:06:15 +05:45
parent d7b237eee2
commit 471d43a4e6
7 changed files with 72 additions and 74 deletions

View File

@@ -1573,7 +1573,6 @@ trait WebDav {
// /some-folder%20with%20spaces/sub-folder
// So we need both $elementToRequest and $expectedElement
$expectedElement = $this->encodePath($elementToRequest);
$responseXmlObject = $this->listFolderAndReturnResponseXml(
$user,
$elementToRequest,
@@ -1585,7 +1584,7 @@ trait WebDav {
$element = $responseXmlObject->xpath(
"//d:response/d:href"
);
// check the first element because the requested resource will always be the first one
if (!$expectedToBeListed && isset($element[0])
) {
Assert::fail(
@@ -1600,7 +1599,6 @@ trait WebDav {
);
}
}
}
}
}