mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 08:19:01 +00:00
Fix broken test in ContentAssertionTests
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ public class ContentAssertionTests {
|
||||
this.mockMvc.perform(get("/handleUtf8"))
|
||||
.andExpect(content().contentType(MediaType.valueOf("text/plain;charset=UTF-8")))
|
||||
.andExpect(content().contentType("text/plain;charset=UTF-8"))
|
||||
.andExpect(content().contentTypeCompatibleWith("text/plan"))
|
||||
.andExpect(content().contentTypeCompatibleWith("text/plain"))
|
||||
.andExpect(content().contentTypeCompatibleWith(MediaType.TEXT_PLAIN));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user