From ea9bf8d80bc51026500eb6aa3b6a98d814adefe3 Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Mon, 19 Dec 2022 10:00:08 +0545 Subject: [PATCH] adress review --- .../features/apiSpacesShares/publicLinkDownload.feature | 4 ++-- tests/acceptance/features/bootstrap/SpacesContext.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature b/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature index e0dc710286..5593a8803c 100644 --- a/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature +++ b/tests/acceptance/features/apiSpacesShares/publicLinkDownload.feature @@ -20,7 +20,7 @@ Feature: Public can download folders from project space public link And user "Alice" has created a public link share of the space "new-space" with settings: | permissions | 1 | | name | someName | - When public downloads the folder "NewFolder" of space "new-space" from the last created public link of "Alice" using the resource id + When public downloads the folder "NewFolder" of space "new-space" from the last created public link of "Alice" Then the HTTP status code should be "200" And the downloaded tar archive should contain these files: | name | content | @@ -36,7 +36,7 @@ Feature: Public can download folders from project space public link | shareType | 3 | | permissions | 1 | | name | public link | - When public downloads the folder "NewFolder/folder" of space "new-space" from the last created public link of "Alice" using the resource id + When public downloads the folder "NewFolder/folder" of space "new-space" from the last created public link of "Alice" Then the HTTP status code should be "200" And the downloaded tar archive should contain these files: | name | content | diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index 0c715e1b59..d746c168b7 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -3091,7 +3091,7 @@ class SpacesContext implements Context { } /** - * @When /^public downloads the folder "([^"]*)" of space "([^"]*)" from the last created public link of "([^"]*)" using the resource id$/ + * @When /^public downloads the folder "([^"]*)" of space "([^"]*)" from the last created public link of "([^"]*)"$/ * * @param string $resource * @param string $space