From 93a67e6b4afd7036dce36cef90dbd65250529bab Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 30 Oct 2017 23:11:18 +0000 Subject: [PATCH] Polish --- .../hateoas/HypermediaAutoConfigurationTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hateoas/HypermediaAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hateoas/HypermediaAutoConfigurationTests.java index 05ee515e61b..97c758bc97b 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hateoas/HypermediaAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/hateoas/HypermediaAutoConfigurationTests.java @@ -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); } } }