tests to demonstrate issue #720

This commit is contained in:
Artur Neumann
2020-10-20 12:04:39 +05:45
parent adc6055912
commit 0e56eddfba
3 changed files with 15 additions and 5 deletions
@@ -1,7 +1,7 @@
@api @files_sharing-app-required @issue-ocis-reva-243
Feature: sharing
@issue-ocis-reva-356
@issue-ocis-720 @issue-ocis-721
# 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 without skeleton files
@@ -9,9 +9,11 @@ Feature: sharing
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"
And user "Brian" has accepted share "/textfile0.txt" offered by user "Alice"
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"
And as "Brian" file "/Shares/textfile0.txt" should exist
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |