mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
Update tests
This commit is contained in:
parent
811c1643d3
commit
1b2ab8d390
@ -47,11 +47,6 @@ describe('Content Type Builder - Components', () => {
|
|||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
path: ['component', 'displayName'],
|
path: ['component', 'displayName'],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
message: 'icon.required',
|
|
||||||
name: 'ValidationError',
|
|
||||||
path: ['component', 'icon'],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
message: 'category.required',
|
message: 'category.required',
|
||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
@ -59,7 +54,7 @@ describe('Content Type Builder - Components', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
message: '4 errors occurred',
|
message: '3 errors occurred',
|
||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@ -242,11 +237,6 @@ describe('Content Type Builder - Components', () => {
|
|||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
path: ['component', 'displayName'],
|
path: ['component', 'displayName'],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
message: 'icon.required',
|
|
||||||
name: 'ValidationError',
|
|
||||||
path: ['component', 'icon'],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
message: 'category.required',
|
message: 'category.required',
|
||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
@ -254,7 +244,7 @@ describe('Content Type Builder - Components', () => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
message: '3 errors occurred',
|
message: '2 errors occurred',
|
||||||
name: 'ValidationError',
|
name: 'ValidationError',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user