From 8b55735cdc9a2048832f1493bdc2e59c981bfb7e Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Wed, 27 Nov 2024 13:44:51 -0400 Subject: [PATCH] chore(edit-content): fix unit tests #30215 --- .../libs/edit-content/src/lib/utils/mocks.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/utils/mocks.ts b/core-web/libs/edit-content/src/lib/utils/mocks.ts index 103368b5e3a8..9a12b0393111 100644 --- a/core-web/libs/edit-content/src/lib/utils/mocks.ts +++ b/core-web/libs/edit-content/src/lib/utils/mocks.ts @@ -1303,7 +1303,7 @@ export const TREE_SELECT_SITES_MOCK: TreeNodeItem[] = [ key: 'demo.dotcms.com', label: 'demo.dotcms.com', data: { - identifier: 'demo.dotcms.com', + id: 'demo.dotcms.com', hostname: 'demo.dotcms.com', path: '', type: 'site' @@ -1315,7 +1315,7 @@ export const TREE_SELECT_SITES_MOCK: TreeNodeItem[] = [ key: 'nico.dotcms.com', label: 'nico.dotcms.com', data: { - identifier: 'nico.dotcms.com', + id: 'nico.dotcms.com', hostname: 'nico.dotcms.com', path: '', type: 'site' @@ -1327,7 +1327,7 @@ export const TREE_SELECT_SITES_MOCK: TreeNodeItem[] = [ key: 'System Host', label: 'System Host', data: { - identifier: 'System Host', + id: 'System Host', hostname: 'System Host', path: '', type: 'site' @@ -1342,7 +1342,7 @@ export const TREE_SELECT_MOCK: TreeNodeItem[] = [ key: 'demo.dotcms.com', label: 'demo.dotcms.com', data: { - identifier: 'demo.dotcms.com', + id: 'demo.dotcms.com', hostname: 'demo.dotcms.com', path: '', type: 'site' @@ -1354,7 +1354,7 @@ export const TREE_SELECT_MOCK: TreeNodeItem[] = [ key: 'demo.dotcms.comlevel1', label: 'demo.dotcms.com/level1/', data: { - identifier: 'demo.dotcms.comlevel1', + id: 'demo.dotcms.comlevel1', hostname: 'demo.dotcms.com', path: '/level1/', type: 'folder' @@ -1366,7 +1366,7 @@ export const TREE_SELECT_MOCK: TreeNodeItem[] = [ key: 'demo.dotcms.comlevel1child1', label: 'demo.dotcms.com/level1/child1/', data: { - identifier: 'demo.dotcms.comlevel1child1', + id: 'demo.dotcms.comlevel1child1', hostname: 'demo.dotcms.com', path: '/level1/child1/', type: 'folder' @@ -1380,7 +1380,7 @@ export const TREE_SELECT_MOCK: TreeNodeItem[] = [ key: 'demo.dotcms.comlevel2', label: 'demo.dotcms.com/level2/', data: { - identifier: 'demo.dotcms.comlevel2', + id: 'demo.dotcms.comlevel2', hostname: 'demo.dotcms.com', path: '/level2/', type: 'folder' @@ -1394,7 +1394,7 @@ export const TREE_SELECT_MOCK: TreeNodeItem[] = [ key: 'nico.dotcms.com', label: 'nico.dotcms.com', data: { - identifier: 'nico.dotcms.com', + id: 'nico.dotcms.com', hostname: 'nico.dotcms.com', path: '', type: 'site'