mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
add test
This commit is contained in:
parent
0f66b31d37
commit
8fb3ffef45
@ -159,6 +159,7 @@ 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
|
||||
])('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