Skip to content

Commit

Permalink
test: match collection model response
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Aug 9, 2024
1 parent 9424690 commit a7aa7be
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand All @@ -28,7 +29,8 @@ const collectionExpected = {
undefined,
undefined
)
)
),
inputLevels: undefined
}
describe('Collection JSDataverse Repository', () => {
before(() => TestsUtils.setup())
Expand Down

0 comments on commit a7aa7be

Please sign in to comment.