Skip to content

Commit 523bf0e

Browse files
committed
Minor fix in Oliver's sample JpaEntityManageService test. It was working as is when committed, since there was only one dataset and one datasetversion in the throwaway database. #11405
1 parent e096244 commit 523bf0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/edu/harvard/iq/dataverse/export/HugeDatasetExportPerformanceIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static void setUp() {
6060

6161
@Test
6262
void shouldExportLargeDataset() {
63-
Long datasetVersionId = regularFilesDataset.getId();
63+
Long datasetVersionId = regularFilesDataset.getVersions().get(0).getId();
6464

6565
QueryCountHolder.clear();
6666
Instant start = Instant.now();

0 commit comments

Comments
 (0)