From be1c190a568dbbc5cc244d5180945d73cf019a23 Mon Sep 17 00:00:00 2001 From: ScharfViktor Date: Thu, 2 Dec 2021 10:05:28 +0100 Subject: [PATCH] change name of the space(uniq name) --- tests/acceptance/features/apiSpaces/uploadSpaces.feature | 6 +++--- tests/acceptance/features/bootstrap/SpacesContext.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/acceptance/features/apiSpaces/uploadSpaces.feature b/tests/acceptance/features/apiSpaces/uploadSpaces.feature index 174acdd604..5aa7df3d15 100644 --- a/tests/acceptance/features/apiSpaces/uploadSpaces.feature +++ b/tests/acceptance/features/apiSpaces/uploadSpaces.feature @@ -12,10 +12,10 @@ Feature: Upload files into a space And the administrator has given "Alice" the role "Admin" using the settings api Scenario: Alice creates a folder via the Graph api in space, she expects a 201 code and she checks that folder exists - Given user "Alice" has created a space "Project Venus" of type "project" with quota "2000" - When user "Alice" creates a folder "mainFolder" in space "Project Venus" using the WebDav Api + Given user "Alice" has created a space "Project Ceres" of type "project" with quota "2000" + When user "Alice" creates a folder "mainFolder" in space "Project Ceres" using the WebDav Api Then the HTTP status code should be "201" - And for user "Alice" the space "Project Venus" should contain these entries: + And for user "Alice" the space "Project Ceres" should contain these entries: | mainFolder | Scenario: Bob creates a folder via the Graph api in a space, he expects a 404 code and Alice checks that this folder does not exist diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index 1fb4f66cab..c58954105a 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -179,7 +179,7 @@ class SpacesContext implements Context { /** * The method finds available spaces to the user and returns the space by spaceName - * + * * @param string $user * @param string $spaceName * @@ -890,7 +890,7 @@ class SpacesContext implements Context { } /** - * @When /^user "([^"]*)" uploads a file inside space "([^"]*)" owned by the user "([^"]*)" with content "([^"]*)" to "([^"]*)" using the WebDAV API$/ + * @When /^user "([^"]*)" uploads a file inside space "([^"]*)" owned by the user "([^"]*)" with content "([^"]*)" to "([^"]*)" using the WebDAV API$/ * * @param string $user * @param string $spaceName @@ -1073,7 +1073,7 @@ class SpacesContext implements Context { ) ); $this->featureContext->theHTTPStatusCodeShouldBe( - 201, + 201, "Expected response status code should be 201 (Created)" ); }