From 4321ffdbdfdb41e6b166c166f922e17a7ff91b63 Mon Sep 17 00:00:00 2001 From: Cheng Shi Date: Fri, 3 Jan 2025 15:32:08 -0500 Subject: [PATCH] fix: dataset image url update --- test/integration/collections/CollectionsRepository.test.ts | 1 - test/testHelpers/TestConstants.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/test/integration/collections/CollectionsRepository.test.ts b/test/integration/collections/CollectionsRepository.test.ts index f38f1641..a251dd4d 100644 --- a/test/integration/collections/CollectionsRepository.test.ts +++ b/test/integration/collections/CollectionsRepository.test.ts @@ -399,7 +399,6 @@ describe('CollectionsRepository', () => { ) expect(actualDatasetPreview.parentCollectionName).toBe(expectedCollectionsName) expect(actualDatasetPreview.type).toBe(CollectionItemType.DATASET) - expect(actualDatasetPreview.imageUrl).toBe('http://dataverse.com') expect(actualCollectionPreview.name).toBe(expectedCollectionsName) expect(actualCollectionPreview.alias).toBe(testSubCollectionAlias) diff --git a/test/testHelpers/TestConstants.ts b/test/testHelpers/TestConstants.ts index ab020e7e..4a2adfb8 100644 --- a/test/testHelpers/TestConstants.ts +++ b/test/testHelpers/TestConstants.ts @@ -89,8 +89,7 @@ export class TestConstants { dsDescriptionValue: 'This is the description of the dataset.' } ], - subject: ['Medicine, Health and Life Sciences'], - imageUrl: 'http://dataverse.com' + subject: ['Medicine, Health and Life Sciences'] } } ]