Skip to content

Commit

Permalink
We have modified the AdminIT.java file as per example IQSS#8775 provi…
Browse files Browse the repository at this point in the history
…ded by

qqmyers, please check if the conflict has been resolved.
As we do not have access to the conflict details, if the modification
does not resolve the conflict, please follow up with the file name and
line number of the conflict and we will follow up with the modification.
  • Loading branch information
xflv committed Aug 29, 2022
1 parent 8948faa commit 2f664d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/edu/harvard/iq/dataverse/api/AdminIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public void testLoadMetadataBlock_NoErrorPath() {
Map<String, List<Map<String, String>>> data = JsonPath.from(body).getMap("data");
assertEquals(1, data.size());
List<Map<String, String>> addedElements = data.get("added");
assertEquals(321, addedElements.size());
assertEquals(322, addedElements.size());

Map<String, Integer> statistics = new HashMap<>();
for (Map<String, String> unit : addedElements) {
Expand All @@ -777,7 +777,7 @@ public void testLoadMetadataBlock_NoErrorPath() {
assertEquals(3, statistics.size());
assertEquals(1, (int) statistics.get("MetadataBlock"));
assertEquals(78, (int) statistics.get("DatasetField"));
assertEquals(242, (int) statistics.get("Controlled Vocabulary"));
assertEquals(243, (int) statistics.get("Controlled Vocabulary"));
}

@Test
Expand Down

0 comments on commit 2f664d0

Please sign in to comment.