From adeb5282e5ea549c0d1da2373de746d160683d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wi=C5=9Bniewski?= Date: Wed, 23 May 2018 23:56:34 +0200 Subject: [PATCH] Remove unstable KwejkController test --- .../com/poprosturonin/sites/kwejk/KwejkControllerTest.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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));