Skip to content

Commit 39e3ba6

Browse files
committed
Remove updated signature in test/index.js tests
1 parent 190f15e commit 39e3ba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ describe('constructor', () => {
467467
req.url = 'http://petstore.swagger.io/v2/pet/4'
468468
}
469469
}).then((client) => {
470-
client.apis.pet.getPetById({'petId-path': 3}).then((data) => {
470+
client.apis.pet.getPetById({petId: 3}).then((data) => {
471471
expect(data.body.id).toEqual(4)
472472
cb()
473473
})
@@ -481,7 +481,7 @@ describe('constructor', () => {
481481
res.body.id = 4
482482
}
483483
}).then((client) => {
484-
client.apis.pet.getPetById({'petId-path': 3}).then((data) => {
484+
client.apis.pet.getPetById({petId: 3}).then((data) => {
485485
expect(data.body.id).toEqual(4)
486486
cb()
487487
})

0 commit comments

Comments
 (0)