forked from MinecraftUtilities/Backend
fix test for ensurePlayerPartsLookupFailure
This commit is contained in:
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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user