fix: address review

This commit is contained in:
hexastack
2025-04-07 12:59:21 +01:00
parent de13301a54
commit ca633b52fb
6 changed files with 41 additions and 38 deletions

View File

@@ -13,7 +13,7 @@ import { AttachmentRepository } from '@/attachment/repositories/attachment.repos
import { AttachmentModel } from '@/attachment/schemas/attachment.schema';
import { AttachmentService } from '@/attachment/services/attachment.service';
import { BlockService } from '@/chat/services/block.service';
import { ContentTypeType } from '@/setting/schemas/types';
import { FieldType } from '@/setting/schemas/types';
import { NOT_FOUND_ID } from '@/utils/constants/mock';
import { getUpdateOneError } from '@/utils/test/errors/messages';
import { installContentFixtures } from '@/utils/test/fixtures/content';
@@ -101,27 +101,27 @@ describe('ContentTypeController', () => {
{
name: 'address',
label: 'Address',
type: ContentTypeType.text,
type: FieldType.text,
},
{
name: 'image',
label: 'Image',
type: ContentTypeType.file,
type: FieldType.file,
},
{
name: 'description',
label: 'Description',
type: ContentTypeType.html,
type: FieldType.html,
},
{
name: 'rooms',
label: 'Rooms',
type: ContentTypeType.file,
type: FieldType.file,
},
{
name: 'price',
label: 'Price',
type: ContentTypeType.file,
type: FieldType.file,
},
],
};