mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 11:08:14 +00:00
add more test cases
This commit is contained in:
parent
7f3da5d08d
commit
54c4fa25b2
@ -142,7 +142,10 @@ describe('Core API - Sanitize', () => {
|
||||
notAnAttribute: '', // doesn't exist on schema
|
||||
t0: { createdBy: { id: { $lt: '1' } } }, // join table name
|
||||
t1: { createdBy: { id: { $lt: '1' } } }, // join table name
|
||||
t0: { updatedBy: { id: { $lt: '1' } } }, // join table name
|
||||
t1: { updatedBy: { id: { $lt: '1' } } }, // join table name
|
||||
$fakeOp: false,
|
||||
id: { $STARTSWITH: '123' }, // wrong casing for operator
|
||||
};
|
||||
|
||||
const res = await rq.get('/api/documents', { qs: { filters } });
|
||||
|
Loading…
x
Reference in New Issue
Block a user