Upgrade dependencies and fix tests

This commit is contained in:
typicode
2018-11-14 10:44:49 +01:00
parent aef028779f
commit 165b6475d3
4 changed files with 3241 additions and 5305 deletions

View File

@ -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))
})