فهرست منبع

增加getMockMvc方法

zhouhao 6 سال پیش
والد
کامیت
49a5019004
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy

+ 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;
+    }
+
 }