From 14886a0fcc107f3a69328c90700ae61d7a4e0bf2 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 8 Apr 2024 07:40:22 +0100 Subject: [PATCH] fix test for ensurePlayerPartsLookupFailure --- src/test/java/cc/fascinated/PlayerControllerTests.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()); } }