diff --git a/alfresco-transformer-base/src/test/java/org/alfresco/transformer/AbstractTransformerControllerTest.java b/alfresco-transformer-base/src/test/java/org/alfresco/transformer/AbstractTransformerControllerTest.java index 47eb8c6e..f561b8ef 100644 --- a/alfresco-transformer-base/src/test/java/org/alfresco/transformer/AbstractTransformerControllerTest.java +++ b/alfresco-transformer-base/src/test/java/org/alfresco/transformer/AbstractTransformerControllerTest.java @@ -35,7 +35,6 @@ import static org.springframework.http.HttpHeaders.CONTENT_TYPE; import static org.springframework.http.HttpStatus.BAD_REQUEST; import static org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR; import static org.springframework.http.HttpStatus.OK; -import static org.springframework.http.MediaType.APPLICATION_JSON_UTF8_VALUE; import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header; @@ -352,7 +351,7 @@ public abstract class AbstractTransformerControllerTest String response = mockMvc .perform(MockMvcRequestBuilders.get("/transform/config")) .andExpect(status().is(OK.value())) - .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_UTF8_VALUE)) + .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_VALUE)) .andReturn().getResponse().getContentAsString(); TransformConfig transformConfig = objectMapper.readValue(response, TransformConfig.class); @@ -371,7 +370,7 @@ public abstract class AbstractTransformerControllerTest String response = mockMvc .perform(MockMvcRequestBuilders.get("/transform/config")) .andExpect(status().is(OK.value())) - .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_UTF8_VALUE)) + .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_VALUE)) .andReturn().getResponse().getContentAsString(); TransformConfig transformConfig = objectMapper.readValue(response, TransformConfig.class); @@ -398,7 +397,7 @@ public abstract class AbstractTransformerControllerTest String response = mockMvc .perform(MockMvcRequestBuilders.get("/transform/config")) .andExpect(status().is(OK.value())) - .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_UTF8_VALUE)) + .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_VALUE)) .andReturn().getResponse().getContentAsString(); TransformConfig transformConfig = objectMapper.readValue(response, TransformConfig.class); @@ -421,7 +420,7 @@ public abstract class AbstractTransformerControllerTest String response = mockMvc .perform(MockMvcRequestBuilders.get("/transform/config")) .andExpect(status().is(OK.value())) - .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_UTF8_VALUE)) + .andExpect(header().string(CONTENT_TYPE, APPLICATION_JSON_VALUE)) .andReturn().getResponse().getContentAsString(); TransformConfig transformConfig = objectMapper.readValue(response, TransformConfig.class); diff --git a/pom.xml b/pom.xml index d6bbeef5..34aca612 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.1.8.RELEASE + 2.2.1.RELEASE