From a98615ca6643e7d673ebead8ccffeb9b9460e0c7 Mon Sep 17 00:00:00 2001 From: Ethan Honzik Date: Wed, 24 Jul 2024 15:29:37 -0500 Subject: [PATCH] updated sps-no-collection-paging-capability tests to expect warnings --- .../collections/sps-no-collection-paging-capability.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rulesets/test/collections/sps-no-collection-paging-capability.test.js b/rulesets/test/collections/sps-no-collection-paging-capability.test.js index 24402ca..a8d10ef 100644 --- a/rulesets/test/collections/sps-no-collection-paging-capability.test.js +++ b/rulesets/test/collections/sps-no-collection-paging-capability.test.js @@ -92,7 +92,7 @@ describe("sps-no-collection-paging-capability", () => { type: integer `; - await spectral.validateFailure(spec, ruleName, "Error", 1); + await spectral.validateFailure(spec, ruleName, "Warning", 1); }); test("invalid - response body - paging element must be an object", async () => { @@ -120,6 +120,6 @@ describe("sps-no-collection-paging-capability", () => { type: string `; - await spectral.validateFailure(spec, ruleName, "Error", 1); + await spectral.validateFailure(spec, ruleName, "Warning", 1); }); });