Skip to content

Commit e8e5875

Browse files
committed
update tests - direct up/down now included for dataverse api call
1 parent 29e4692 commit e8e5875

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2726,8 +2726,8 @@ public void testGetStorageDriver() {
27262726
.body("data.name", CoreMatchers.notNullValue())
27272727
.body("data.type", CoreMatchers.notNullValue())
27282728
.body("data.label", CoreMatchers.notNullValue())
2729-
.body("data.directUpload", CoreMatchers.nullValue())
2730-
.body("data.directDownload", CoreMatchers.nullValue())
2729+
.body("data.directUpload", CoreMatchers.notNullValue())
2730+
.body("data.directDownload", CoreMatchers.notNullValue())
27312731
.statusCode(200);
27322732

27332733
// Root without default is undefined

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public void testNonDirectUpload() {
156156
updatedStorageDriver.then().assertThat()
157157
.body("data.type", CoreMatchers.notNullValue())
158158
.body("data.label", CoreMatchers.notNullValue())
159-
.body("data.directUpload", CoreMatchers.nullValue())
159+
.body("data.directUpload", CoreMatchers.notNullValue())
160160
.statusCode(200);
161161

162162
Response createDatasetResponse = UtilIT.createRandomDatasetViaNativeApi(dataverseAlias, apiToken);

0 commit comments

Comments
 (0)