[tests-only] Run tests with default propfind depth infinity config (#7334)

* use default config for OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY

* remove unnecessary steps

* use default propfind depth infinity value

* use correct step to check the resources

* use correct step to check the resources

* cover depth:infinity enabled test cases

* fix steps

* fix scenario steps

* update expected failure list

* add depth infinity test suite to ci

* update existing tests only

* remove test with depth:infinity
This commit is contained in:
Sawjan Gurung
2023-10-03 09:26:31 +05:45
committed by GitHub
parent 87f1235562
commit c59b597984
14 changed files with 142 additions and 311 deletions
@@ -1983,7 +1983,6 @@ trait WebDav {
$responseXmlObject = $this->listFolderAndReturnResponseXml(
$user,
"/",
"infinity"
);
foreach ($elementsSimplified as $expectedElement) {
// Allow the table of expected elements to have entries that do
@@ -4872,6 +4871,9 @@ trait WebDav {
?string $method = 'REPORT',
?string $folderpath = ''
):void {
if ($folderpath === "/") {
$folderpath = "";
}
$this->verifyTableNodeColumnsCount($expectedFiles, 1);
$elementRows = $expectedFiles->getRows();
$should = ($shouldOrNot !== "not");