#1000 - Upgrade to Spring Framework 5.0 M3.
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -80,7 +80,7 @@
|
||||
<junit.version>5.4.2</junit.version>
|
||||
<reactor-bom.version>Dysprosium-M1</reactor-bom.version>
|
||||
<slf4j.version>1.7.26</slf4j.version>
|
||||
<spring.version>5.2.0.M2</spring.version>
|
||||
<spring.version>5.2.0.M3</spring.version>
|
||||
<spring-plugin.version>2.0.0.M1</spring-plugin.version>
|
||||
<kotlin.version>1.3.31</kotlin.version>
|
||||
</properties>
|
||||
|
||||
@@ -66,7 +66,7 @@ class CustomHypermediaWebMvcTest {
|
||||
void getUsingCustomMediaType() throws Exception {
|
||||
|
||||
String results = this.mockMvc.perform(get("/employees/1").accept(FRODO_MEDIATYPE)) //
|
||||
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, FRODO_MEDIATYPE.toString() + ";charset=UTF-8")) //
|
||||
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, FRODO_MEDIATYPE.toString())) //
|
||||
.andReturn() //
|
||||
.getResponse() //
|
||||
.getContentAsString();
|
||||
|
||||
Reference in New Issue
Block a user