Fixed VirtualCorpusControllerTest.
Change-Id: I94ce707f11ad0a92548478b7e9bb614a638ee06d
diff --git a/full/Changes b/full/Changes
index d994517..86a0edc 100644
--- a/full/Changes
+++ b/full/Changes
@@ -12,7 +12,10 @@
- Updated create update user-group API (margaretha)
20/12/2019
- Removed transactional annotations from simple select queries (margaretha)
- - Updated free resource controller (margaretha)
+ - Updated free resource controller (margaretha)
+15/01-2020
+ - Added additional statistic figures to virtual corpus info API
+ response (margaretha)
# version 0.62.2
17/10/2019
diff --git a/full/src/test/java/de/ids_mannheim/korap/web/controller/VirtualCorpusControllerTest.java b/full/src/test/java/de/ids_mannheim/korap/web/controller/VirtualCorpusControllerTest.java
index e95f0e4..6afb02d 100644
--- a/full/src/test/java/de/ids_mannheim/korap/web/controller/VirtualCorpusControllerTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/web/controller/VirtualCorpusControllerTest.java
@@ -131,10 +131,10 @@
assertEquals("system-vc", node.at("/name").asText());
assertEquals(VirtualCorpusType.SYSTEM.displayName(),
node.at("/type").asText());
- assertEquals(11, node.at("/numberOfDoc"));
- assertEquals(772, node.at("/numberOfParagraphs"));
- assertEquals(25074, node.at("/numberOfSentences"));
- assertEquals(665842, node.at("/numberOfTokens"));
+ assertEquals(11, node.at("/numberOfDoc").asInt());
+ assertEquals(772, node.at("/numberOfParagraphs").asInt());
+ assertEquals(25074, node.at("/numberOfSentences").asInt());
+ assertEquals(665842, node.at("/numberOfTokens").asInt());
}
@Test