Skip to content

Commit

Permalink
the tests were modified
Browse files Browse the repository at this point in the history
  • Loading branch information
2403905 committed Dec 7, 2023
1 parent faab758 commit e922321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ Feature: changing a public link share
| ocs_api_version | ocs_status_code |
| 1 | 100 |
| 2 | 200 |
And the OCS status code should be "104"
And the OCS status message should be "user is not allowed to delete the password from the public link"


Scenario Outline: administrator removes password of a read-only public link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,6 @@ Feature: update a public link share
| 2 | 200 |


Scenario Outline: creating a new public link share with password and removing (updating) it to make the resources accessible without password using public API
Given using OCS API version "<ocs_api_version>"
And user "Alice" has uploaded file with content "Random data" to "/randomfile.txt"
And user "Alice" has created a public link share with settings
| path | randomfile.txt |
| password | %public% |
When user "Alice" updates the last public link share using the sharing API with
#removing password is basically making password empty
| password | %remove% |
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
And the public should be able to download the last publicly shared file using the old public WebDAV API without a password and the content should be "Random data"
And the public should be able to download the last publicly shared file using the new public WebDAV API without a password and the content should be "Random data"
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
| 2 | 200 |


Scenario Outline: creating a new public link share, updating its password and getting its info
Given using OCS API version "<ocs_api_version>"
And user "Alice" has created folder "FOLDER"
Expand Down

0 comments on commit e922321

Please sign in to comment.