Skip to content

Commit bb9affc

Browse files
committed
test: fix test after change in the backend
1 parent 565bcd5 commit bb9affc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/collections/CollectionsRepository.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,8 @@ describe('CollectionsRepository', () => {
996996
expect(updatedCollection.alias).toBe(testUpdatedCollectionAlias)
997997
expect(updatedCollection.name).toBe(updatedCollectionName)
998998
expect(updatedCollection.affiliation).toBe(updatedCollectionAffiliation)
999-
expect(updatedCollection.inputLevels?.length).toBe(1)
1000-
const updatedInputLevel = updatedCollection.inputLevels?.[0]
999+
expect(updatedCollection.inputLevels?.length).toBe(2)
1000+
const updatedInputLevel = updatedCollection.inputLevels?.[1]
10011001
expect(updatedInputLevel?.datasetFieldName).toBe('country')
10021002
expect(updatedInputLevel?.include).toBe(true)
10031003
expect(updatedInputLevel?.required).toBe(false)

0 commit comments

Comments
 (0)