Skip to content

Commit

Permalink
fix: broken test?
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Apr 18, 2024
1 parent d29a702 commit 700c854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/specs/validate-schema/validate-schema.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 700c854

Please sign in to comment.