Update test to align with media type change in HATEOAS 0.24

See gh-10828
pull/10831/head
Andy Wilkinson 7 years ago
parent 6bfbcc291a
commit f59fbe6f81

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

Loading…
Cancel
Save