Parcourir la source

增加getMockMvc方法

zhouhao il y a 6 ans
Parent
commit
49a5019004

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

@@ -28,4 +28,8 @@ class HswebSpecification extends Specification {
         mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
     }
 
+    MockMvc getMockMvc() {
+        return mockMvc;
+    }
+
 }