Added test for sending share invitation to disabled user (#8174)

This commit is contained in:
Prarup Gurung
2024-01-11 11:31:55 +05:45
committed by GitHub
parent 3976c1c1fc
commit d69a916c12
8 changed files with 153 additions and 66 deletions
@@ -163,7 +163,7 @@ class GraphContext implements Context {
}
/**
* @Given /^the user "([^"]*)" has disabled user "([^"]*)" using the Graph API$/
* @Given /^the user "([^"]*)" has disabled user "([^"]*)"$/
*
* @param string $byUser
* @param string $user
@@ -172,7 +172,7 @@ class GraphContext implements Context {
* @throws GuzzleException
* @throws Exception
*/
public function theUserHasDisabledUserToUsingTheGraphApi(string $byUser, string $user): void {
public function theUserHasDisabledUser(string $byUser, string $user): void {
$this->theUserDisablesUserToUsingTheGraphApi($byUser, $user);
$this->featureContext->thenTheHTTPStatusCodeShouldBe(200);
}