Fix broken server port test yes
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m27s

This commit is contained in:
Braydon 2024-04-10 07:18:23 -04:00
parent 69c0cd3179
commit af9df6571c

@ -128,7 +128,7 @@ public final class ServerControllerTests {
*/
@Test
void ensureUnknownPort() throws Exception {
mockMvc.perform(get("/server/java/hypixel.net?port=A")
mockMvc.perform(get("/server/java/hypixel.net:A")
.accept(MediaType.APPLICATION_JSON) // Accept JSON
.contentType(MediaType.APPLICATION_JSON) // Content type is JSON
).andExpect(status().isBadRequest()) // Expect 400 (Bad Request)