From 4cf66e5ac6cac13f116bbfafbfd99f59136b522b Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Thu, 4 Jul 2024 17:29:53 +0200 Subject: [PATCH] tests: fix expectations --- .../apiSharingNg/listPermissions.feature | 119 +----------------- 1 file changed, 1 insertion(+), 118 deletions(-) diff --git a/tests/acceptance/features/apiSharingNg/listPermissions.feature b/tests/acceptance/features/apiSharingNg/listPermissions.feature index a9d6e7ed1f..f18025db09 100644 --- a/tests/acceptance/features/apiSharingNg/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg/listPermissions.feature @@ -247,29 +247,6 @@ Feature: List a sharing permissions "uniqueItems": true, "items": { "oneOf": [ - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "const": 1 - }, - "description": { - "const": "View only documents, images and PDFs. Watermarks will be applied." - }, - "displayName": { - "const": "Can view (secure)" - }, - "id": { - "const": "aa97fe03-7980-45ac-9e50-b325749fd7e6" - } - } - }, { "type": "object", "required": [ @@ -403,29 +380,6 @@ Feature: List a sharing permissions "uniqueItems": true, "items": { "oneOf": [ - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "const": 1 - }, - "description": { - "const": "View only documents, images and PDFs. Watermarks will be applied." - }, - "displayName": { - "const": "Can view (secure)" - }, - "id": { - "const": "aa97fe03-7980-45ac-9e50-b325749fd7e6" - } - } - }, { "type": "object", "required": [ @@ -645,7 +599,6 @@ Feature: List a sharing permissions | Space Viewer | | Space Editor | | Manager | - | Secure viewer | @issues-8331 Scenario: user lists permissions of a file in personal space @@ -1115,29 +1068,6 @@ Feature: List a sharing permissions "uniqueItems": true, "items": { "oneOf": [ - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "const": 1 - }, - "description": { - "const": "View only documents, images and PDFs. Watermarks will be applied." - }, - "displayName": { - "const": "Can view (secure)" - }, - "id": { - "const": "aa97fe03-7980-45ac-9e50-b325749fd7e6" - } - } - }, { "type": "object", "required": [ @@ -1260,29 +1190,6 @@ Feature: List a sharing permissions "uniqueItems": true, "items": { "oneOf": [ - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "const": 1 - }, - "description": { - "const": "View only documents, images and PDFs. Watermarks will be applied." - }, - "displayName": { - "const": "Can view (secure)" - }, - "id": { - "const": "aa97fe03-7980-45ac-9e50-b325749fd7e6" - } - } - }, { "type": "object", "required": [ @@ -1565,29 +1472,6 @@ Feature: List a sharing permissions "uniqueItems": true, "items": { "oneOf": [ - { - "type": "object", - "required": [ - "@libre.graph.weight", - "description", - "displayName", - "id" - ], - "properties": { - "@libre.graph.weight": { - "const": 1 - }, - "description": { - "const": "View only documents, images and PDFs. Watermarks will be applied." - }, - "displayName": { - "const": "Can view (secure)" - }, - "id": { - "const": "aa97fe03-7980-45ac-9e50-b325749fd7e6" - } - } - }, { "type": "object", "required": [ @@ -1807,7 +1691,6 @@ Feature: List a sharing permissions | Space Viewer | | Space Editor | | Manager | - | Secure viewer | Scenario: user sends share invitation with all allowed roles for a project space using root endpoint @@ -1882,4 +1765,4 @@ Feature: List a sharing permissions } } } - """ \ No newline at end of file + """