diff --git a/tests/acceptance/features/apiSharingNg/listPermissions.feature b/tests/acceptance/features/apiSharingNg/listPermissions.feature index e15b857205..e2ee6aa775 100644 --- a/tests/acceptance/features/apiSharingNg/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg/listPermissions.feature @@ -48,6 +48,8 @@ Feature: List a sharing permissions }, "@libre.graph.permissions.roles.allowedValues": { "type": "array", + "minItems": 4, + "maxItems": 4, "items": [ { "type": "object", @@ -188,76 +190,6 @@ Feature: List a sharing permissions ] } } - }, - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "type": "integer", - "enum": [ - 5 - ] - }, - "description": { - "type": "string", - "enum": [ - "Grants co-owner permissions on a resource" - ] - }, - "displayName": { - "type": "string", - "enum": [ - "Co Owner" - ] - }, - "id": { - "type": "string", - "enum": [ - "3a4ba8e9-6a0d-4235-9140-0e7a34007abe" - ] - } - } - }, - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "type": "integer", - "enum": [ - 6 - ] - }, - "description": { - "type": "string", - "enum": [ - "Grants manager permissions on a resource. Semantically equivalent to co-owner" - ] - }, - "displayName": { - "type": "string", - "enum": [ - "Manager" - ] - }, - "id": { - "type": "string", - "enum": [ - "312c0871-5ef7-4b3a-85b6-0e4074c64049" - ] - } - } } ] }