mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 04:32:24 +08:00
Upgrade dependencies and fix tests
This commit is contained in:
@ -100,7 +100,7 @@ describe('Server with custom foreign key', () => {
|
||||
.post('/posts/1/comments')
|
||||
.send({ body: 'foo' })
|
||||
.expect('Content-Type', /json/)
|
||||
.expect({ id: 4, post_id: 1, body: 'foo' })
|
||||
.expect({ id: 4, post_id: '1', body: 'foo' })
|
||||
.expect(201))
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user