From 0b0ae60d9d06353c2004d27f2b4626cd726252f4 Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Wed, 21 Feb 2024 15:17:47 +0545 Subject: [PATCH] test(api): make json scheme strict --- .../acceptance/features/apiSharingNg/sharedWithMe.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/acceptance/features/apiSharingNg/sharedWithMe.feature b/tests/acceptance/features/apiSharingNg/sharedWithMe.feature index 8995ba5d4b..01c7110e63 100755 --- a/tests/acceptance/features/apiSharingNg/sharedWithMe.feature +++ b/tests/acceptance/features/apiSharingNg/sharedWithMe.feature @@ -800,6 +800,8 @@ Feature: an user gets the resources shared to them }, "permissions": { "type": "array", + "minItems": 2, + "maxItems": 2, "items": { "oneOf": [ { @@ -1131,6 +1133,8 @@ Feature: an user gets the resources shared to them }, "permissions": { "type": "array", + "minItems": 2, + "maxItems": 2, "items": { "oneOf": [ { @@ -1491,6 +1495,8 @@ Feature: an user gets the resources shared to them }, "permissions": { "type": "array", + "minItems": 2, + "maxItems": 2, "items": { "oneOf": [ { @@ -1790,6 +1796,8 @@ Feature: an user gets the resources shared to them }, "permissions": { "type": "array", + "minItems": 2, + "maxItems": 2, "items": { "oneOf": [ {