Skip to content

Commit

Permalink
another test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 29, 2024
1 parent b2b023a commit 9f30075
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -3650,6 +3650,11 @@ public void testCuratePublishedDatasetVersionCommand() throws IOException {
updateTerms.then().assertThat()
.statusCode(OK.getStatusCode());

//Run Update-Current Version again

UtilIT.publishDatasetViaNativeApi(datasetId, "updatecurrent", apiToken).then().assertThat().statusCode(OK.getStatusCode());


//Verify the new term is there
Response jsonLDResponse = UtilIT.getDatasetJsonLDMetadata(datasetId, apiToken);
assertTrue(jsonLDResponse.prettyPrint().contains("Somewhere"));
Expand Down

0 comments on commit 9f30075

Please sign in to comment.