add server preview tests
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m9s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m9s
This commit is contained in:
parent
d2ae4b4cc5
commit
eae027af84
@ -56,4 +56,11 @@ class ServerControllerTests {
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.blocked").value(false));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void ensureServerPreviewLookupSuccess() throws Exception {
|
||||
mockMvc.perform(get("/server/preview/java/" + testServer)
|
||||
.contentType(MediaType.IMAGE_PNG))
|
||||
.andExpect(status().isOk());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user