Skip to content

Commit

Permalink
Remove unstable KwejkController test
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0gramista committed May 23, 2018
1 parent fa9ac4a commit adeb528
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit adeb528

Please sign in to comment.