From b5fa47080121a948cb92e00601f9b997138cc5f3 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 20 Apr 2024 20:00:47 +0100 Subject: [PATCH] fix preview tests --- .../xyz/mcutils/backend/test/tests/ServerControllerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/xyz/mcutils/backend/test/tests/ServerControllerTests.java b/src/test/java/xyz/mcutils/backend/test/tests/ServerControllerTests.java index df38d2a..998050c 100644 --- a/src/test/java/xyz/mcutils/backend/test/tests/ServerControllerTests.java +++ b/src/test/java/xyz/mcutils/backend/test/tests/ServerControllerTests.java @@ -59,7 +59,7 @@ class ServerControllerTests { @Test public void ensureServerPreviewLookupSuccess() throws Exception { - mockMvc.perform(get("/server/preview/java/" + testServer) + mockMvc.perform(get("/server/java/preview/" + testServer) .contentType(MediaType.IMAGE_PNG)) .andExpect(status().isOk()); }