Skip to content

Commit

Permalink
updated sps-no-collection-paging-capability tests to expect warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanHonzikSPS committed Jul 24, 2024
1 parent f2ef266 commit a98615c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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);
});
});

0 comments on commit a98615c

Please sign in to comment.