forked from MinecraftUtilities/Backend
fix username to uuid lookup tests
This commit is contained in:
parent
bd09539732
commit
944000ab1a
@ -54,7 +54,7 @@ class PlayerControllerTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void ensurePlayerUsernameToUuidLookupFailure() throws Exception {
|
public void ensurePlayerUsernameToUuidLookupFailure() throws Exception {
|
||||||
mockMvc.perform(get("/player/uuid/" + testPlayer)
|
mockMvc.perform(get("/player/uuid/" + testInvalidPlayer)
|
||||||
.accept(MediaType.APPLICATION_JSON)
|
.accept(MediaType.APPLICATION_JSON)
|
||||||
.contentType(MediaType.APPLICATION_JSON))
|
.contentType(MediaType.APPLICATION_JSON))
|
||||||
.andExpect(status().isNotFound());
|
.andExpect(status().isNotFound());
|
||||||
|
Loading…
Reference in New Issue
Block a user