Merge pull request #9569 from owncloud/tests/remote_item_id

[tests-only][full-ci] add remote item-id check in REPORT responses
This commit is contained in:
Sawjan Gurung
2024-07-11 11:44:14 +05:45
committed by GitHub
3 changed files with 22 additions and 15 deletions
@@ -3893,6 +3893,9 @@ class SpacesContext implements Context {
Assert::assertTrue($responseValue >= ($value - 3));
}
break;
case "oc:remote-item-id":
Assert::assertContainsEquals($this->getResourceId($user, $spaceNameOrMountPoint, $value), $responseValues, 'wrong remoteItemId in the response');
break;
default:
Assert::assertContainsEquals($value, $responseValues, "wrong $findItem in the response");
break;