adjust tests expectation
This commit is contained in:
@@ -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 |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user