fix preview tests
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 2m5s

This commit is contained in:
Lee 2024-04-20 20:00:47 +01:00
parent 0854c9e76a
commit b5fa470801

View File

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