Create snippets for BAEL-2574 (#6344)

This commit is contained in:
Andrey Shcherbakov
2019-02-16 23:23:08 +01:00
committed by maibin
parent 91ac058838
commit 033bc8bd5a
7 changed files with 118 additions and 110 deletions

View File

@@ -20,9 +20,10 @@ public class ControllerUnitTest {
private MockMvc mvc;
@Test
public void whenRequestIndex_thenStatusOk() throws Exception {
public void whenRequestThymeleaf_thenStatusOk() throws Exception {
mvc.perform(MockMvcRequestBuilders.get("/index")
.accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk());
}
}