Skip to content

Commit

Permalink
Merge pull request #8904 from owncloud/list-perm-shares
Browse files Browse the repository at this point in the history
 [tests-only][full-ci] adding test for listing permission of shares drive
  • Loading branch information
ScharfViktor committed Jun 28, 2024
2 parents f8a3dce + f30f18e commit 4196b66
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/acceptance/features/apiSharingNg/listPermissions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -1862,3 +1862,24 @@ Feature: List a sharing permissions
}
}
"""

@issue-8922
Scenario: user lists the permissions of Shares drive using permissions endpoint
When user "Alice" lists the permissions of space "Shares" using permissions endpoint of the Graph API
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"value": {
"type": "array",
"minItems": 0,
"maxItems": 0
}
}
}
"""

0 comments on commit 4196b66

Please sign in to comment.