Polish test

This test should not rely on a particular content-type as none is
defined on the producing end, not on the requesting end.
This commit is contained in:
Brian Clozel 2022-10-04 10:09:07 +02:00
parent 3b91eea0b7
commit 5613922fba
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ class RequestMappingIntegrationTests extends AbstractRequestMappingIntegrationTe
HttpHeaders headers = getRestTemplate().headForHeaders(url);
String contentType = headers.getFirst("Content-Type");
assertThat(contentType).isNotNull();
assertThat(contentType.toLowerCase()).isEqualTo("text/html;charset=utf-8");
assertThat(headers.getContentLength()).isEqualTo(3);
}