remove ocs endpoint (#7864)

This commit is contained in:
Nalem7
2023-12-19 14:25:56 +05:45
committed by GitHub
parent 43c64e6a8e
commit 8ce0417d4d
2 changed files with 6 additions and 45 deletions
@@ -943,24 +943,6 @@ class GraphContext implements Context {
}
}
/**
* create group with provided data
*
* @param string $group
*
* @return array
* @throws Exception
* @throws GuzzleException
*/
public function adminHasCreatedGroupUsingTheGraphApi(string $group): array {
$result = $this->createGroup($group);
if ($result->getStatusCode() === 201) {
return $this->featureContext->getJsonDecodedResponse($result);
} else {
$this->throwHttpException($result, "Could not create group '$group'.");
}
}
/**
* @param ResponseInterface $response
* @param string $errorMsg