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); }); });