From f30f18e5df505c7a31ffb06830c1cd3d4a94d152 Mon Sep 17 00:00:00 2001 From: Niraj Acharya Date: Fri, 19 Apr 2024 14:14:44 +0545 Subject: [PATCH] adding test for listing permission of a shares drive --- .../apiSharingNg/listPermissions.feature | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/acceptance/features/apiSharingNg/listPermissions.feature b/tests/acceptance/features/apiSharingNg/listPermissions.feature index a5b2668d89c..a9d6e7ed1fb 100644 --- a/tests/acceptance/features/apiSharingNg/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg/listPermissions.feature @@ -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 + } + } + } + """ \ No newline at end of file