mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-01 02:15:07 +08:00
增加getMockMvc方法
This commit is contained in:
@@ -28,4 +28,8 @@ class HswebSpecification extends Specification {
|
||||
mockMvc = MockMvcBuilders.webAppContextSetup(context).build();
|
||||
}
|
||||
|
||||
MockMvc getMockMvc() {
|
||||
return mockMvc;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user