Added tests for enabling share sync with not shared resource id (#8991)

This commit is contained in:
Prarup Gurung
2024-04-29 12:58:31 +05:45
committed by GitHub
parent 3a553aebcb
commit 7bb178bb1f
2 changed files with 41 additions and 1 deletions
@@ -751,7 +751,7 @@ class SharingNgContext implements Context {
*/
public function userTriesToEnableShareSyncOfResourceUsingTheGraphApi(string $user, string $resource):void {
$shareSpaceId = FeatureContext::SHARES_SPACE_ID;
$itemId = ($resource === 'nonexistent') ? WebDavHelper::generateUUIDv4() : '';
$itemId = ($resource === 'nonexistent') ? WebDavHelper::generateUUIDv4() : $resource;
$response = GraphHelper::enableShareSync(
$this->featureContext->getBaseUrl(),