mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Update test to align with media type change in HATEOAS 0.24
See gh-10828
This commit is contained in:
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…
Reference in New Issue
Block a user