Update RestEasy (#1953)

Updates RestEasy to version 4.7.5.Final.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
René Pfeuffer
2022-02-15 14:51:09 +01:00
committed by GitHub
parent cf52209c1d
commit 2ededac869
17 changed files with 260 additions and 200 deletions

View File

@@ -103,7 +103,9 @@ class AlertsResourceTest {
@Test
void shouldReturnVndMediaType() throws Exception {
MockHttpResponse response = invoke();
assertThat(response.getOutputHeaders().getFirst("Content-Type")).hasToString(VndMediaType.ALERTS_REQUEST);
assertThat(response.getOutputHeaders().getFirst("Content-Type"))
.asString()
.isEqualToIgnoringCase(VndMediaType.ALERTS_REQUEST);
}
@Test

View File

@@ -336,7 +336,9 @@ class SearchResourceTest {
}
private void assertHeader(JsonMockHttpResponse response, String header, String expectedValue) {
assertThat(response.getOutputHeaders().getFirst(header)).hasToString(expectedValue);
assertThat(response.getOutputHeaders().getFirst(header))
.asString()
.isEqualToIgnoringCase(expectedValue);
}
private JsonMockHttpResponse search(String query) throws URISyntaxException, UnsupportedEncodingException {