Commit f59fbe6f authored by Andy Wilkinson's avatar Andy Wilkinson

Update test to align with media type change in HATEOAS 0.24

See gh-10828
parent 6bfbcc29
......@@ -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"));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment