From 944000ab1ab3057bdb00a0467773027146423d41 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 11 Apr 2024 00:28:54 +0100 Subject: [PATCH] fix username to uuid lookup tests --- src/test/java/cc/fascinated/tests/PlayerControllerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/cc/fascinated/tests/PlayerControllerTests.java b/src/test/java/cc/fascinated/tests/PlayerControllerTests.java index d5e1b40..35611f2 100644 --- a/src/test/java/cc/fascinated/tests/PlayerControllerTests.java +++ b/src/test/java/cc/fascinated/tests/PlayerControllerTests.java @@ -54,7 +54,7 @@ class PlayerControllerTests { @Test public void ensurePlayerUsernameToUuidLookupFailure() throws Exception { - mockMvc.perform(get("/player/uuid/" + testPlayer) + mockMvc.perform(get("/player/uuid/" + testInvalidPlayer) .accept(MediaType.APPLICATION_JSON) .contentType(MediaType.APPLICATION_JSON)) .andExpect(status().isNotFound());