diff --git a/src/resolvers/__tests__/removeById-test.ts b/src/resolvers/__tests__/removeById-test.ts index 6af769c8..edb5baab 100644 --- a/src/resolvers/__tests__/removeById-test.ts +++ b/src/resolvers/__tests__/removeById-test.ts @@ -192,7 +192,7 @@ describe('removeById() ->', () => { 'users', 'findOne', { _id: user._id, gender: 'some' }, - Number(version[0]) == 8 ? {} : Number(version[0]) == 8 ? undefined : { projection: {} }, + Number(version[0]) == 8 ? {} : Number(version[0]) <= 6 ? undefined : { projection: {} }, ].filter(Boolean), ]);