Files
opencloud/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature
Artur Neumann c5bb4304a7 Revert "skip local tests on OCIS storage"
This reverts commit e634cc4d552f7b3605e258a5c07cc37e8a31b64f.
2020-09-11 15:59:04 +05:45

18 lines
820 B
Gherkin

@api @files_sharing-app-required @issue-ocis-reva-243
Feature: sharing
@issue-ocis-reva-356
# after fixing all issues delete this Scenario and use the one from oC10 core
Scenario Outline: delete a share
Given user "Alice" has been created with default attributes and skeleton files
And user "Brian" has been created with default attributes and without skeleton files
And using OCS API version "<ocs_api_version>"
And user "Alice" has shared file "textfile0.txt" with user "Brian"
When user "Alice" deletes the last share using the sharing API
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
| 2 | 200 |