diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index d0e668f9ee..f0840b64ef 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -476,7 +476,6 @@ class SpacesContext implements Context { */ public function cleanDataAfterTests(): void { $this->deleteAllProjectSpaces(); - $this->deleteAllCreatedUsers(); } /** @@ -518,29 +517,6 @@ class SpacesContext implements Context { } } - /** - * admin deletes created user with their personal space (this happens automatically after deleting users) - * - * @return void - * - * @throws Exception|GuzzleException - */ - public function deleteAllCreatedUsers(): void { - $createdUsers = $this->featureContext->getCreatedUsers(); - - foreach ($createdUsers as $user) { - $this->featureContext->setResponse( - GraphHelper::deleteUser( - $this->featureContext->getBaseUrl(), - $this->featureContext->getStepLineRef(), - $this->featureContext->getAdminUsername(), - $this->featureContext->getAdminPassword(), - $user['actualUsername'] - ) - ); - } - } - /** * Send Propfind Request to Url *