fix test for ensurePlayerPartsLookupFailure

This commit is contained in:
Lee 2024-04-08 07:40:22 +01:00
parent 6144a2e1f6
commit 14886a0fcc

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