Skip to content

Commit

Permalink
Fixing basic usage test #597
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Dec 9, 2019
1 parent c28fb73 commit 072d7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sample-projects/basic-usage.js
Expand Up @@ -30,7 +30,7 @@ module.exports = function(request) {
.get('/v3/users/34?name=barney')
.expect(400, {errors: [
{
errorCode: 'pattern.openapi.validation',
errorCode: 'pattern.openapi.requestValidation',
location: 'query',
message: 'should match pattern \"^fred$\"',
path: 'name'
Expand Down Expand Up @@ -77,7 +77,7 @@ module.exports = function(request) {
.send(user)
.expect(400, {errors: [
{
errorCode: 'required.openapi.validation',
errorCode: 'required.openapi.requestValidation',
location: 'body',
message: 'should have required property \'name\'',
path: 'name'
Expand Down

0 comments on commit 072d7a5

Please sign in to comment.