#1000 - Upgrade to Spring Framework 5.0 M3.

This commit is contained in:
Oliver Drotbohm
2019-06-13 19:06:31 +02:00
parent b2e327d1d2
commit 6e3bbe851f
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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();