浏览代码

优化test

zhouhao 6 年之前
父节点
当前提交
5547e97e08
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy

+ 1 - 1
hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy

@@ -29,7 +29,7 @@ class HswebSpecification extends Specification {
         mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
         mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
     }
     }
 
 
-    MockMvc getMockMvc() {
+    MockMvc getMock() {
         return mockMvc;
         return mockMvc;
     }
     }