forked from MinecraftUtilities/Backend
fix preview tests
This commit is contained in:
parent
0854c9e76a
commit
b5fa470801
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user