mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
tests
This commit is contained in:
parent
8fb3ffef45
commit
d840d3ca2b
@ -159,7 +159,8 @@ describe('Core API - Validate', () => {
|
||||
['at root', { id: {} }],
|
||||
['nested known keys', { id: { $eq: {} } }],
|
||||
['complex nested known keys', { id: { $and: { $eq: {}, $contains: {} } } }],
|
||||
['undefined', { id: undefined }], // not sure this is a possible path, but might as well test it
|
||||
['non-id complex nested known keys', { name: { $and: { $eq: {}, $contains: {} } } }],
|
||||
['undefined', { name: undefined }], // not sure this is a possible path, but might as well test it
|
||||
])('Empty objects are accepted but sanitized out: %s : %s', async (label, filters) => {
|
||||
const res = await rq.get('/api/documents', { qs: { filters } });
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user