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

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

Loading…
Cancel
Save