mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 00:29:51 +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', () => {
|
test('Basic custom field', () => {
|
||||||
const attribute = {
|
const attribute = {
|
||||||
type: 'customField',
|
type: 'string',
|
||||||
customField: 'plugin::color-picker.color',
|
customField: 'plugin::color-picker.color',
|
||||||
};
|
};
|
||||||
const modifiers = getAttributeModifiers(attribute);
|
const modifiers = getAttributeModifiers(attribute);
|
||||||
@ -463,7 +463,7 @@ describe('Attributes', () => {
|
|||||||
|
|
||||||
test('Advanced custom field', () => {
|
test('Advanced custom field', () => {
|
||||||
const attribute = {
|
const attribute = {
|
||||||
type: 'customField',
|
type: 'string',
|
||||||
customField: 'plugin::color-picker.color',
|
customField: 'plugin::color-picker.color',
|
||||||
options: {
|
options: {
|
||||||
format: 'hex',
|
format: 'hex',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user