Skip to content

Commit 3a5a79c

Browse files
test: updated unit test assertion
1 parent e8e1ced commit 3a5a79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/contenttype.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ describe('ContentType Query class', () => {
6666
});
6767
it('should get entries which does not match the fieldUid - notExists', () => {
6868
const query = contentType.Query().notExists('fieldUID');
69-
expect(query._parameters).toStrictEqual({'fieldUID': {'$nin': ['value', 'value2']}});
69+
expect(query._parameters).toStrictEqual({'fieldUID': {'$exists': false}});
7070
});
7171
});

0 commit comments

Comments
 (0)