[full-ci] deleted unused step definitions (#1639)

* deleted unused step definitions

* fix flaky tests. rearange ine numbers
This commit is contained in:
Viktor Scharf
2025-10-10 11:34:43 +02:00
committed by GitHub
parent ba7aad174f
commit c916528788
4 changed files with 9 additions and 117 deletions
@@ -2851,39 +2851,6 @@ class SpacesContext implements Context {
);
}
/**
* @Given /^user "([^"]*)" has shared a space "([^"]*)" with settings:$/
*
* @param string $user
* @param string $spaceName
* @param TableNode $tableNode
*
* @return void
* @throws GuzzleException
*/
public function userHasSharedSpace(
string $user,
string $spaceName,
TableNode $tableNode
): void {
$rows = $tableNode->getRowsHash();
$response = $this->shareSpace($user, $spaceName, $rows);
$expectedHTTPStatus = "200";
$this->featureContext->theHTTPStatusCodeShouldBe(
$expectedHTTPStatus,
"Expected response status code should be $expectedHTTPStatus",
$response
);
$expectedOCSStatus = "200";
Assert::assertEquals(
$expectedOCSStatus,
$this->ocsContext->getOCSResponseStatusCode(
$response
),
"Expected OCS response status code $expectedOCSStatus"
);
}
/**
* @Given user :user has unshared a space :spaceName shared with :recipient
*