mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 02:53:22 +00:00
test(content-manager): api test for single types with locale=all
This commit is contained in:
parent
f1de66d9d3
commit
85ecd814c2
@ -197,7 +197,7 @@ describe('i18n - Content API', () => {
|
||||
const { statusCode, body } = res;
|
||||
|
||||
expect(statusCode).toBe(200);
|
||||
expect(body.data).toMatchObject(transformToRESTResource(data.homepages[0]));
|
||||
expect(body.data).toMatchObject(transformToRESTResource(data.homepages));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user