Fix broken test in ContentAssertionTests

This commit is contained in:
Sam Brannen 2013-01-15 11:56:27 +01:00
parent b2d6596901
commit 33ee0ea4a6
1 changed files with 1 additions and 1 deletions

View File

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