mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Fix test using wrong type
This commit is contained in:
parent
1931224373
commit
cac7372a7f
@ -448,7 +448,7 @@ describe('Attributes', () => {
|
||||
|
||||
test('Basic custom field', () => {
|
||||
const attribute = {
|
||||
type: 'customField',
|
||||
type: 'string',
|
||||
customField: 'plugin::color-picker.color',
|
||||
};
|
||||
const modifiers = getAttributeModifiers(attribute);
|
||||
@ -463,7 +463,7 @@ describe('Attributes', () => {
|
||||
|
||||
test('Advanced custom field', () => {
|
||||
const attribute = {
|
||||
type: 'customField',
|
||||
type: 'string',
|
||||
customField: 'plugin::color-picker.color',
|
||||
options: {
|
||||
format: 'hex',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user