From a7aa7be920ede99692d0f13357066709a59bc049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Saracca?= Date: Fri, 9 Aug 2024 09:09:18 -0300 Subject: [PATCH] test: match collection model response --- .../collection/CollectionJSDataverseRepository.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/e2e-integration/integration/collection/CollectionJSDataverseRepository.spec.ts b/tests/e2e-integration/integration/collection/CollectionJSDataverseRepository.spec.ts index a2534020a..7339fe403 100644 --- a/tests/e2e-integration/integration/collection/CollectionJSDataverseRepository.spec.ts +++ b/tests/e2e-integration/integration/collection/CollectionJSDataverseRepository.spec.ts @@ -6,9 +6,10 @@ import { DvObjectType, UpwardHierarchyNode } from '../../../../src/shared/hierarchy/domain/models/UpwardHierarchyNode' +import { Collection } from '../../../../src/collection/domain/models/Collection' const collectionRepository = new CollectionJSDataverseRepository() -const collectionExpected = { +const collectionExpected: Collection = { id: 'new-collection', name: 'Scientific Research', description: 'We do all the science.', @@ -28,7 +29,8 @@ const collectionExpected = { undefined, undefined ) - ) + ), + inputLevels: undefined } describe('Collection JSDataverse Repository', () => { before(() => TestsUtils.setup())