fix tests
This commit is contained in:
parent
4c95983c47
commit
0fb69e8d13
@ -22,7 +22,7 @@ class PasteControllerTests {
|
||||
public void ensureUploadSuccess() throws Exception {
|
||||
ResultActions result = mockMvc.perform(post("/upload")
|
||||
.accept(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.contentType(MediaType.TEXT_PLAIN)
|
||||
.content("joe"))
|
||||
.andExpect(status().isOk());
|
||||
}
|
||||
|
Reference in New Issue
Block a user