commit | 9f2cff00ab00909a5e2aeb4c38b8fd77fa48034d | [log] [tgz] |
---|---|---|
author | margaretha <margaretha@ids-mannheim.de> | Mon Jan 03 15:42:45 2022 +0100 |
committer | margaretha <margaretha@ids-mannheim.de> | Mon Jan 03 15:53:42 2022 +0100 |
tree | 5782809ffcf10a2a917cf80c659dc31695a3a890 | |
parent | 24b27c550e92eda34888a1c30466b93426c3bbba [diff] |
Updated tests. Change-Id: I4e43978c5cf8bbc678da5231ed938b707e11c442
diff --git a/lite/Changes b/lite/Changes index 2a45173..36cf15e 100644 --- a/lite/Changes +++ b/lite/Changes
@@ -7,6 +7,7 @@ - [security] Updated log4j libs due to CVE -2021 -44228. 2022-01-03 - [security] More log4j security updates + - Updated tests. # version 0.64
diff --git a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java index 343b5eb..ebbdbfe 100644 --- a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java +++ b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteSearchControllerTest.java
@@ -93,7 +93,7 @@ String message = response.getEntity(String.class); assertEquals( "Wes8Bd4h1OypPqbWF5njeQ==", - response.getMetadata().getFirst("X-Index-Revision") + response.getHeaders().getFirst("X-Index-Revision") ); assertEquals(message, config.getApiWelcomeMessage()); }
diff --git a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java index 8619003..060d441 100644 --- a/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java +++ b/lite/src/test/java/de/ids_mannheim/korap/web/service/LiteStatisticControllerTest.java
@@ -32,7 +32,7 @@ assertEquals( "Wes8Bd4h1OypPqbWF5njeQ==", - response.getMetadata().getFirst("X-Index-Revision") + response.getHeaders().getFirst("X-Index-Revision") ); String query = response.getEntity(String.class);