mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
fixed the error translation from the statusCodeError type into a corresponding graph api Error representation
This commit is contained in:
@@ -197,7 +197,7 @@ Feature: Remove access to a drive
|
||||
| permissionsRole | <permissions-role> |
|
||||
| password | %public% |
|
||||
When user "Brian" tries to remove the link from space "NewSpace" owned by "Alice" using root endpoint of the Graph API
|
||||
Then the HTTP status code should be "500"
|
||||
Then the HTTP status code should be "404"
|
||||
Examples:
|
||||
| permissions-role |
|
||||
| view |
|
||||
@@ -214,7 +214,7 @@ Feature: Remove access to a drive
|
||||
| space | NewSpace |
|
||||
| permissionsRole | internal |
|
||||
When user "Brian" tries to remove the link from space "NewSpace" owned by "Alice" using root endpoint of the Graph API
|
||||
Then the HTTP status code should be "500"
|
||||
Then the HTTP status code should be "404"
|
||||
|
||||
|
||||
Scenario: remove link share of a project drive using permissions endpoint
|
||||
@@ -226,4 +226,4 @@ Feature: Remove access to a drive
|
||||
| permissionsRole | view |
|
||||
| password | $heLlo*1234* |
|
||||
When user "Alice" deletes the last link share of space "projectSpace" using permissions endpoint of the Graph API
|
||||
Then the HTTP status code should be "204"
|
||||
Then the HTTP status code should be "204"
|
||||
|
||||
@@ -155,7 +155,6 @@ Feature: Share a file or folder that is inside a space
|
||||
And the information about the last share for user "Brian" should include
|
||||
| expiration | |
|
||||
|
||||
@issue-8747
|
||||
Scenario: user cannot delete share role
|
||||
Given using OCS API version "<ocs_api_version>"
|
||||
And using SharingNG
|
||||
|
||||
Reference in New Issue
Block a user