Merge pull request #9331 from 2403905/issue-9151

fixed the error translation from the statusCodeError type into a corresponding graph api  Error representation
This commit is contained in:
Roman Perekhod
2024-06-12 11:19:55 +02:00
committed by GitHub
11 changed files with 60 additions and 29 deletions
@@ -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