diff --git a/src/test/java/com/poprosturonin/sites/kwejk/KwejkControllerTest.java b/src/test/java/com/poprosturonin/sites/kwejk/KwejkControllerTest.java index f290510..09b2f58 100644 --- a/src/test/java/com/poprosturonin/sites/kwejk/KwejkControllerTest.java +++ b/src/test/java/com/poprosturonin/sites/kwejk/KwejkControllerTest.java @@ -33,12 +33,7 @@ public void shouldReturnJson() throws Exception { .andExpect(status().isOk()) .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8)) .andExpect(jsonPath("nextPage", matchesPattern(URLUtils.CUT_URL_PATTERN))); - mockMvc.perform(get("/kwejk/page/37000")) - .andDo(print()) - .andExpect(status().isOk()) - .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8)) - .andExpect(jsonPath("nextPage", matchesPattern(URLUtils.CUT_URL_PATTERN))); - mockMvc.perform(get("/kwejk/245000")) + mockMvc.perform(get("/kwejk/3201709")) .andDo(print()) .andExpect(status().isOk()) .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8));