diff --git a/test/collections-rest/int.spec.ts b/test/collections-rest/int.spec.ts index c975307330..79aab12899 100644 --- a/test/collections-rest/int.spec.ts +++ b/test/collections-rest/int.spec.ts @@ -1223,7 +1223,8 @@ describe('collections-rest', () => { }) expect(status).toEqual(200) - expect(result.totalDocs).toEqual(50) + expect(result.docs).toHaveLength(50) + expect(result.totalPages).toEqual(1) }) })