adding test for deleting/removing share link of file and folder in project space using root endpoint

This commit is contained in:
Niraj Acharya
2024-06-13 09:42:33 +05:45
parent f74f656ba9
commit f0c4bb5a0c
3 changed files with 38 additions and 17 deletions
@@ -1583,14 +1583,14 @@ class SharingNgContext implements Context {
}
/**
* @When user :user deletes the last link share of space :space using permissions endpoint of the Graph API
* @When user :user removes the last link share of space :space using permissions endpoint of the Graph API
*
* @param string $user
* @param string $space
*
* @return void
*/
public function userDeletsTheLastLinkShareOfSpaceUsingPermissionsEndpointOfGraphApi(string $user, string $space):void {
public function userRemovesTheLastLinkShareOfSpaceUsingPermissionsEndpointOfGraphApi(string $user, string $space):void {
$this->featureContext->setResponse($this->removeAccessToSpaceItem($user, 'link', $space, ''));
}
}