Skip to content

Commit 3359c1b

Browse files
committed
fix test
1 parent d9b4069 commit 3359c1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private void verifyNotification(Response notificationListResponse, String datave
218218
notificationListResponse.then().assertThat()
219219
.statusCode(OK.getStatusCode());
220220
boolean found = false;
221-
List<Map<String, String>> notifications = notificationListResponse.body().jsonPath().getList("data.notifications");
221+
List<Map<String, String>> notifications = notificationListResponse.body().jsonPath().getList("data");
222222

223223
for (Map<String, String> notification : notifications) {
224224
if ("DATASETMOVED".equalsIgnoreCase(notification.get("type"))) {

0 commit comments

Comments
 (0)