Skip to content

Commit 10dcb90

Browse files
committed
Change error messages
1 parent fe995c2 commit 10dcb90

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/documents_tests.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,7 @@ describe.each([
376376
.getAllUpdateStatus()
377377
.then((response: Types.Update[]) => {
378378
const lastUpdate = response[response.length - 1]
379-
expect(lastUpdate).toHaveProperty(
380-
'error',
381-
'serializer error; Primary key is missing.'
382-
)
379+
expect(lastUpdate).toHaveProperty('error', 'document id is missing')
383380
expect(lastUpdate).toHaveProperty('status', 'failed')
384381
})
385382
})

0 commit comments

Comments
 (0)