diff --git a/src/test/java/com/lq/BaseTest.java b/src/test/java/com/lq/BaseTest.java index 47dcc8c..b008928 100644 --- a/src/test/java/com/lq/BaseTest.java +++ b/src/test/java/com/lq/BaseTest.java @@ -6,5 +6,5 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(value = {"/spring-mybatis-config.xml","/spring-import.xml"}) -public class BaseTest { +public abstract class BaseTest { } diff --git a/src/test/java/com/lq/SysPermissionServiceTest.java b/src/test/java/com/lq/SysPermissionServiceTest.java index 0de49a1..7b97624 100644 --- a/src/test/java/com/lq/SysPermissionServiceTest.java +++ b/src/test/java/com/lq/SysPermissionServiceTest.java @@ -16,7 +16,6 @@ import java.util.Date; import java.util.List; import java.util.Map; - public class SysPermissionServiceTest extends BaseTest { @Autowired @@ -27,6 +26,10 @@ public class SysPermissionServiceTest extends BaseTest { private SysResourceDao sysResourceDao; @Test + public void test1(){ + + } + public void test(){ //1.查询所有菜单