mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
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…
Reference in New Issue
Block a user