Create snippets for BAEL-2574 (#6344)
This commit is contained in:
committed by
maibin
parent
91ac058838
commit
033bc8bd5a
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user