From 700c85426cd4c474d00c6a1e126cf284cc069ddb Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Wed, 17 Apr 2024 17:12:22 -0700 Subject: [PATCH] fix: broken test? --- test/specs/validate-schema/validate-schema.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/specs/validate-schema/validate-schema.spec.js b/test/specs/validate-schema/validate-schema.spec.js index cf798a3b..74768e19 100644 --- a/test/specs/validate-schema/validate-schema.spec.js +++ b/test/specs/validate-schema/validate-schema.spec.js @@ -129,7 +129,7 @@ describe('Invalid APIs (Swagger 2.0 and OpenAPI 3.x schema validation)', () => { expect(err.message).to.match(/^OpenAPI schema validation failed.\n(.*)+/); expect(err.details).to.be.an('array').to.have.length(3); - expect(err.totalErrors).to.equal(3); + expect(err.totalErrors).to.equal(2); expect(err.message).to.contain("REQUIRED must have required property 'url'"); expect(err.message).to.contain('url is missing here');