mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
Merge pull request #752 from owncloud/bugDemoFor751
[tests-only] bug demonstration scenario for #751
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
@api @files_sharing-app-required @issue-ocis-reva-243
|
||||
Feature: sharing
|
||||
|
||||
@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
|
||||
And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt"
|
||||
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"
|
||||
When user "Brian" requests "/remote.php/dav/files" with "PROPFIND" using basic auth
|
||||
Then the HTTP status code should be "500"
|
||||
Examples:
|
||||
| ocs_api_version | ocs_status_code |
|
||||
| 1 | 100 |
|
||||
| 2 | 200 |
|
||||
@@ -0,0 +1,9 @@
|
||||
@api
|
||||
Feature: PROPFIND
|
||||
|
||||
@issue-ocis-751
|
||||
# after fixing all issues delete this Scenario and use the one from oC10 core
|
||||
Scenario: PROPFIND to "/remote.php/dav/files"
|
||||
Given user "Alice" has been created with default attributes and without skeleton files
|
||||
When user "Alice" requests "/remote.php/dav/files" with "PROPFIND" using basic auth
|
||||
Then the HTTP status code should be "500"
|
||||
Reference in New Issue
Block a user