Align with Framework’s removal of charset attribute from application/json
Closes gh-16979
This commit is contained in:
@@ -110,9 +110,8 @@ public class CloudFoundryActuatorAutoConfigurationTests {
|
||||
"vcap.application.cf_api:https://my-cloud-controller.com")
|
||||
.run((context) -> {
|
||||
MockMvc mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
|
||||
mockMvc.perform(get("/cloudfoundryapplication"))
|
||||
.andExpect(header().string("Content-Type",
|
||||
ActuatorMediaType.V2_JSON + ";charset=UTF-8"));
|
||||
mockMvc.perform(get("/cloudfoundryapplication")).andExpect(
|
||||
header().string("Content-Type", ActuatorMediaType.V2_JSON));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user