Skip to content

Commit

Permalink
Change error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bidoubiwa committed Jul 29, 2020
1 parent 7108322 commit 6200fcf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/documents_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,7 @@ describe.each([
.getAllUpdateStatus()
.then((response: Types.Update[]) => {
const lastUpdate = response[response.length - 1]
expect(lastUpdate).toHaveProperty(
'error',
'serializer error; Primary key is missing.'
)
expect(lastUpdate).toHaveProperty('error', 'document id is missing')
expect(lastUpdate).toHaveProperty('status', 'failed')
})
})
Expand Down

0 comments on commit 6200fcf

Please sign in to comment.