diff --git a/tests/acceptance/features/apiShareManagementBasic/createShare.feature b/tests/acceptance/features/apiShareManagementBasic/createShare.feature index e76b9a22cdc0..cfa92dd8cd76 100644 --- a/tests/acceptance/features/apiShareManagementBasic/createShare.feature +++ b/tests/acceptance/features/apiShareManagementBasic/createShare.feature @@ -123,6 +123,27 @@ Feature: sharing | 1 | 100 | | 2 | 200 | + @public_link_share-feature-required + Scenario Outline: Getting the share information of public link share form OCS API does not expose sensitive information + Given using OCS API version "" + When user "user0" creates a public link share using the sharing API with settings + | path | welcome.txt | + Then the OCS status code should be "" + And the HTTP status code should be "200" + And the share fields of the last share should include + | file_target | /welcome.txt | + | path | /welcome.txt | + | item_type | file | + | share_type | 3 | + | permissions | 1 | + | uid_owner | user0 | + | share_with | ***redacted*** | + | share_with_displayname | ***redacted*** | + Examples: + | ocs_api_version | ocs_status_code | + | 1 | 100 | + | 2 | 200 | + Scenario Outline: Creating a new share with a disabled user Given using OCS API version "" And user "user1" has been created with default attributes