diff --git a/tests/acceptance/bootstrap/SharingNgContext.php b/tests/acceptance/bootstrap/SharingNgContext.php index dcfdbe3f3ef..b6227385d39 100644 --- a/tests/acceptance/bootstrap/SharingNgContext.php +++ b/tests/acceptance/bootstrap/SharingNgContext.php @@ -2331,7 +2331,7 @@ class SharingNgContext implements Context { } /** - * @Then /^user "([^"]*)" should have the following shares of the (?:folder|file) "([^"]*)":$/ + * @Then for user :user file/folder :resource should have the following shares: * * @param string $user * @param string $resource diff --git a/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature b/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature index 63990581892..9f118463b92 100644 --- a/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature +++ b/tests/acceptance/features/apiSharingNgAdditionalShareRole/listGrantsShareRole.feature @@ -62,7 +62,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -122,7 +122,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -185,7 +185,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -248,7 +248,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -301,7 +301,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -356,7 +356,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -416,7 +416,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -474,7 +474,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -531,7 +531,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -586,7 +586,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -646,7 +646,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the file "textfile1.txt": + And for user "Brian" file "textfile1.txt" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -704,7 +704,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "FolderToShare": + And for user "Brian" folder "FolderToShare" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | | Examples: @@ -1302,7 +1302,7 @@ Feature: ListGrants role } } """ - And user "Brian" should have the following shares of the folder "folder": + And for user "Brian" folder "folder" should have the following shares: | sharee | shareType | permissionsRole | | Brian | user | Viewer | | grp1 | group | |