From 820d86372e67d467638d1aebd8ad3b2f4f64adac Mon Sep 17 00:00:00 2001 From: Ivan Kiral Date: Tue, 2 Apr 2024 09:54:52 +0200 Subject: [PATCH] fix test --- tests/integration/importExport/utils/compare.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration/importExport/utils/compare.ts b/tests/integration/importExport/utils/compare.ts index 5e97b941..6155a961 100644 --- a/tests/integration/importExport/utils/compare.ts +++ b/tests/integration/importExport/utils/compare.ts @@ -237,9 +237,8 @@ const createPrepareTypeElementReferences = ( contentGroups: ReadonlyArray, ): PrepareReferencesFnc => element => { - const elementWithGroup = - element as (ElementContracts.IContentTypeElementContract & ContentTypeElements.IElementShared); - const baseElement: ElementContracts.IContentTypeElementContract & ContentTypeElements.IElementShared = { + const elementWithGroup = element as (ElementContracts.IContentTypeElementContract & ContentTypeElements.Element); + const baseElement: ElementContracts.IContentTypeElementContract & ContentTypeElements.Element = { ...elementWithGroup, id: "-", external_id: "-",