mirror of
https://github.com/strapi/strapi.git
synced 2026-01-08 13:17:47 +00:00
fix: ignore locale field in api tests
This commit is contained in:
parent
af3e1c0492
commit
856dfd8ee5
@ -745,6 +745,7 @@ describe('Core API - Validate', () => {
|
||||
const allDocumentFields = [
|
||||
// TODO: Document id should not be in attributes
|
||||
'documentId',
|
||||
'locale',
|
||||
'name',
|
||||
'name_non_searchable',
|
||||
'misc',
|
||||
|
||||
@ -115,6 +115,8 @@ const userSchemaAdditions = () => {
|
||||
'publishedAt',
|
||||
'strapi_stage',
|
||||
'strapi_assignee',
|
||||
'locale',
|
||||
'localizations',
|
||||
];
|
||||
|
||||
return currentSchema.filter((key) => !(ignoreDiffs.includes(key) || defaultSchema.includes(key)));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user