Commit 3178511e by hexy

提交测试

1 parent 9580b52c
......@@ -22,6 +22,7 @@ public class ShopMallMockMvcTestDemo {
@Test
public void apiTest() {
try {
System.out.println(1);
MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.get("/hello"))
.andExpect(MockMvcResultMatchers.status().isOk()).andReturn();
} catch (Exception e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!