mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-02 21:18:05 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user