diff --git a/hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy b/hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy index 87627a9cf..febd1df09 100644 --- a/hsweb-tests/src/main/groovy/org/hswebframework/web/tests/HswebSpecification.groovy +++ b/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 getMockMvc() { + MockMvc getMock() { return mockMvc; }