|
|
@ -140,8 +140,7 @@ public class HypermediaAutoConfigurationTests {
|
|
|
|
for (HttpMessageConverter<?> converter : handlerAdapter.getMessageConverters()) {
|
|
|
|
for (HttpMessageConverter<?> converter : handlerAdapter.getMessageConverters()) {
|
|
|
|
if (converter instanceof TypeConstrainedMappingJackson2HttpMessageConverter) {
|
|
|
|
if (converter instanceof TypeConstrainedMappingJackson2HttpMessageConverter) {
|
|
|
|
assertThat(converter.getSupportedMediaTypes())
|
|
|
|
assertThat(converter.getSupportedMediaTypes())
|
|
|
|
.containsExactly(MediaTypes.HAL_JSON, MediaType.parseMediaType(
|
|
|
|
.containsExactly(MediaTypes.HAL_JSON, MediaTypes.HAL_JSON_UTF8);
|
|
|
|
MediaTypes.HAL_JSON_VALUE + ";charset=UTF-8"));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|