diff --git a/src/test/java/cc/fascinated/PlayerControllerTests.java b/src/test/java/cc/fascinated/PlayerControllerTests.java index cd685d4..5b5053b 100644 --- a/src/test/java/cc/fascinated/PlayerControllerTests.java +++ b/src/test/java/cc/fascinated/PlayerControllerTests.java @@ -49,9 +49,7 @@ class PlayerControllerTests { @Test public void ensurePlayerPartsLookupFailure() throws Exception { - mockMvc.perform(get("/player/invalidpart/eeab5f8a-18dd-4d58-af78-2b3c4543da48") - .accept(MediaType.IMAGE_PNG) - .contentType(MediaType.IMAGE_PNG)) + mockMvc.perform(get("/player/invalidpart/eeab5f8a-18dd-4d58-af78-2b3c4543da48")) .andExpect(status().isNotFound()); } }