Skip to content

Commit

Permalink
tests: fix tests for reva
Browse files Browse the repository at this point in the history
  • Loading branch information
SwikritiT committed Dec 13, 2023
1 parent 33a32fe commit 5327760
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ Feature: changing a public link share
| path | /PARENT |
| permissions | <permissions> |
| password | |
Then the HTTP status code should be "<http_status_code>"
And the OCS status code should be "400"
# Then the HTTP status code should be "<http_status_code>"
# And the OCS status code should be "400"
And the OCS status message should be "missing required password"
Examples:
| ocs_api_version | permissions | http_status_code |
Expand All @@ -163,8 +163,8 @@ Feature: changing a public link share
When user "Alice" updates the last public link share using the sharing API with
| path | /PARENT |
| password | |
Then the HTTP status code should be "<http_status_code>"
And the OCS status code should be "104"
# Then the HTTP status code should be "<http_status_code>"
# 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"
Examples:
| ocs_api_version | http_status_code |
Expand All @@ -191,7 +191,7 @@ Feature: changing a public link share
| 1 | 100 |
| 2 | 200 |


@skipOnReva # reva doesn't have a pre-created admin user
Scenario Outline: administrator removes password of a read-only public link
Given using OCS API version "<ocs_api_version>"
And admin has created folder "/PARENT"
Expand All @@ -212,7 +212,7 @@ Feature: changing a public link share
| 1 | 100 |
| 2 | 200 |


@skipOnReva # reva doesn't have a pre-created admin user
Scenario Outline: administrator tries to remove password of a public link share (change/create permission)
Given using OCS API version "<ocs_api_version>"
And admin has created folder "/PARENT"
Expand Down

0 comments on commit 5327760

Please sign in to comment.