Skip to content

Commit ee55052

Browse files
authored
Merge pull request #12068 from GlobalDataverseCommunityConsortium/Y2.025K
Y2.025K - test hardcoded to 2025
2 parents 96e96f4 + c497880 commit ee55052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5042,7 +5042,7 @@ public void testCitationDate() throws IOException {
50425042
.body("resource.dates.date[0]", CoreMatchers.equalTo("1999-12-31"))
50435043
.body("resource.dates.date[1].@dateType", CoreMatchers.equalTo("Updated"))
50445044
.body("resource.dates.date[1]", CoreMatchers.equalTo(today))
5045-
.body("resource.publicationYear", CoreMatchers.equalTo("2025"));
5045+
.body("resource.publicationYear", CoreMatchers.equalTo(currentYear));
50465046

50475047
Response exportDatasetOaiDc = UtilIT.exportDataset(datasetPid, "oai_dc", apiToken, true);
50485048
exportDatasetOaiDc.prettyPrint();

0 commit comments

Comments
 (0)