修改测试模块代码

master
星期八 5 years ago
parent 6e5ca2136f
commit 3601c8cdf1
  1. 2
      src/test/java/com/lq/BaseTest.java
  2. 5
      src/test/java/com/lq/SysPermissionServiceTest.java

@ -6,5 +6,5 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(value = {"/spring-mybatis-config.xml","/spring-import.xml"}) @ContextConfiguration(value = {"/spring-mybatis-config.xml","/spring-import.xml"})
public class BaseTest { public abstract class BaseTest {
} }

@ -16,7 +16,6 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public class SysPermissionServiceTest extends BaseTest { public class SysPermissionServiceTest extends BaseTest {
@Autowired @Autowired
@ -27,6 +26,10 @@ public class SysPermissionServiceTest extends BaseTest {
private SysResourceDao sysResourceDao; private SysResourceDao sysResourceDao;
@Test @Test
public void test1(){
}
public void test(){ public void test(){
//1.查询所有菜单 //1.查询所有菜单

Loading…
Cancel
Save