[test-only] apiTest. Delete group from the space (#5365)

* add test

* add empty line
This commit is contained in:
Viktor Scharf
2023-01-10 12:03:52 +01:00
committed by GitHub
parent 1d51aab69f
commit 9bdd1e9ce9
3 changed files with 51 additions and 10 deletions
@@ -1021,7 +1021,7 @@ class GraphContext implements Context {
*
* @return void
*/
public function userDeletesGroupUsingTheGraphApi(string $group, ?string $user): void {
public function userDeletesGroupUsingTheGraphApi(string $group, ?string $user = null): void {
$groupId = $this->featureContext->getAttributeOfCreatedGroup($group, "id");
$response = $this->userDeletesGroupWithGroupId($groupId, $user);
$this->featureContext->setResponse($response);