Skip to content

Commit

Permalink
Added a broken test to check how the build will behave.
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalazam committed Jun 23, 2023
1 parent 9743ebc commit 7f06ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ class StartFullSpringContextButWithoutServerMockMvcHttpRequestIT {
@Test
public void shouldReturnDefaultMessage() throws Exception {
this.mockMvc.perform(get("/greeting")).andDo(print()).andExpect(status().isOk())
.andExpect(content().string(containsString("World")));
.andExpect(content().string(containsString("Worldasdf")));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class StartSpringContextWithWebLayerOnlyAndWithoutServerTest {
@Test
public void shouldReturnDefaultMessage() throws Exception {
this.mockMvc.perform(get("/greeting")).andDo(print()).andExpect(status().isOk())
.andExpect(content().string(containsString("World")));
.andExpect(content().string(containsString("Worldsad")));
}
}

0 comments on commit 7f06ed0

Please sign in to comment.