adjust tests expectation

This commit is contained in:
Saw-jan
2023-07-31 12:57:00 +05:45
parent 8f7c6e165a
commit a2ee62bde1
10 changed files with 90 additions and 90 deletions
@@ -57,7 +57,7 @@ Feature: Resharing
Scenario: user can't share with more permissions than they have
When user "Damian" shares folder "Shares/folder" with user "Ember" with permissions "31" using the sharing API
Then the OCS status code should be "404"
Then the OCS status code should be "403"
And the OCS status message should be "Cannot set the requested share permissions"
@@ -97,8 +97,8 @@ Feature: Resharing
| Brian | 17 | 100 |
| Carol | 31 | 100 |
| Damian | 17 | 100 |
| Damian | 27 | 404 |
| Damian | 31 | 404 |
| Damian | 27 | 403 |
| Damian | 31 | 403 |
Scenario Outline: Resharing files with different permissions
@@ -110,7 +110,7 @@ Feature: Resharing
Examples:
| shareepermissions | granteepermissions | code |
| 17 | 17 | 100 |
| 17 | 19 | 404 |
| 17 | 19 | 403 |
| 19 | 19 | 100 |