diff --git a/src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java b/src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java index 65e984de919..1b2d7e9a431 100644 --- a/src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java +++ b/src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java @@ -5323,7 +5323,7 @@ public void testRequireFilesToPublishDatasets() { setDataverseAttributeResponse = UtilIT.setCollectionAttribute(ownerAlias, "requireFilesToPublishDataset", "true", apiTokenAdmin); setDataverseAttributeResponse.prettyPrint(); setDataverseAttributeResponse.then().assertThat().statusCode(OK.getStatusCode()); - setDataverseAttributeResponse.then().assertThat().body("data.requireFilesToPublishDataset", equalTo(true)); + setDataverseAttributeResponse.then().assertThat().body("data.effectiveRequiresFilesToPublishDataset", equalTo(true)); Response publishDataverseResponse = UtilIT.publishDataverseViaNativeApi(ownerAlias, apiTokenAdmin); publishDataverseResponse.prettyPrint(); publishDataverseResponse.then().assertThat().statusCode(OK.getStatusCode());