diff --git a/tests/acceptance/features/apiSpaces/changeSpaces.feature b/tests/acceptance/features/apiSpaces/changeSpaces.feature index 34d2fbebeae..b57192c6860 100644 --- a/tests/acceptance/features/apiSpaces/changeSpaces.feature +++ b/tests/acceptance/features/apiSpaces/changeSpaces.feature @@ -226,9 +226,9 @@ Feature: Change data of space Scenario: user sends invalid space uuid via the Graph API - When user "Admin" ties to change the name of the "non-existing" space to "new name" + When user "Admin" tries to change the name of the "non-existing" space to "new name" Then the HTTP status code should be "404" - When user "Admin" ties to change the quota of the "non-existing" space to "10" + When user "Admin" tries to change the quota of the "non-existing" space to "10" Then the HTTP status code should be "404" - When user "Alice" ties to change the description of the "non-existing" space to "new description" + When user "Alice" tries to change the description of the "non-existing" space to "new description" Then the HTTP status code should be "404" diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index 237698c8e7a..8a140d7fca7 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -1271,7 +1271,7 @@ class SpacesContext implements Context { } /** - * @When /^user "([^"]*)" (?:changes|ties to change) the name of the "([^"]*)" space to "([^"]*)"$/ + * @When /^user "([^"]*)" (?:changes|tries to change) the name of the "([^"]*)" space to "([^"]*)"$/ * * @param string $user * @param string $spaceName @@ -1288,7 +1288,7 @@ class SpacesContext implements Context { ): void { if ($spaceName === "non-existing") { // check sending invalid data - $spaceId = WebDavHelper::generateUUIDv4(); + $spaceId = "39c49dd3-1f24-4687-97d1-42df43f71713"; } else { $space = $this->getSpaceByName($user, $spaceName); $spaceId = $space["id"]; @@ -1309,7 +1309,7 @@ class SpacesContext implements Context { } /** - * @When /^user "([^"]*)" (?:changes|ties to change) the description of the "([^"]*)" space to "([^"]*)"$/ + * @When /^user "([^"]*)" (?:changes|tries to change) the description of the "([^"]*)" space to "([^"]*)"$/ * * @param string $user * @param string $spaceName @@ -1326,7 +1326,7 @@ class SpacesContext implements Context { ): void { if ($spaceName === "non-existing") { // check sending invalid data - $spaceId = WebDavHelper::generateUUIDv4(); + $spaceId = "39c49dd3-1f24-4687-97d1-42df43f71713"; } else { $space = $this->getSpaceByName($user, $spaceName); $spaceId = $space["id"]; @@ -1347,7 +1347,7 @@ class SpacesContext implements Context { } /** - * @When /^user "([^"]*)" (?:changes|ties to change) the quota of the "([^"]*)" space to "([^"]*)"$/ + * @When /^user "([^"]*)" (?:changes|tries to change) the quota of the "([^"]*)" space to "([^"]*)"$/ * * @param string $user * @param string $spaceName @@ -1364,7 +1364,7 @@ class SpacesContext implements Context { ): void { if ($spaceName === "non-existing") { // check sending invalid data - $spaceId = WebDavHelper::generateUUIDv4(); + $spaceId = "39c49dd3-1f24-4687-97d1-42df43f71713"; } else { $space = $this->getSpaceByName($user, $spaceName); $spaceId = $space["id"];