fix tests
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m8s
Publish Docker Image / docker (ubuntu-latest) (push) Successful in 47s

This commit is contained in:
Lee 2024-04-24 19:55:44 +01:00
parent 4c95983c47
commit 0fb69e8d13

@ -22,7 +22,7 @@ class PasteControllerTests {
public void ensureUploadSuccess() throws Exception { public void ensureUploadSuccess() throws Exception {
ResultActions result = mockMvc.perform(post("/upload") ResultActions result = mockMvc.perform(post("/upload")
.accept(MediaType.APPLICATION_JSON) .accept(MediaType.APPLICATION_JSON)
.contentType(MediaType.APPLICATION_JSON) .contentType(MediaType.TEXT_PLAIN)
.content("joe")) .content("joe"))
.andExpect(status().isOk()); .andExpect(status().isOk());
} }