pull/10839/head
Andy Wilkinson 7 years ago
parent 48cc7bde30
commit 93a67e6b4a

@ -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"));
} }
} }
} }

Loading…
Cancel
Save