Commit a3cbe80f authored by machengbo's avatar machengbo

no message

parent fbdaddfb
......@@ -141,7 +141,6 @@
<version>1.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
......
package com.jz.manage;
import com.jz.manage.admin.service.UserService;
import com.jz.manage.admin.service.SysUserService;
import com.jz.manage.admin.service.TestUserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -13,7 +14,9 @@ import java.util.Map;
@SpringBootTest
public class manageApplicationTests {
@Autowired
private UserService userService;
private TestUserService userService;
@Autowired
private SysUserService sysUserService;
@Test
public void contextLoads() {
......@@ -25,5 +28,9 @@ public class manageApplicationTests {
userService.getTest();
}
@Test
public void getUserRoleByAccount() {
sysUserService.getUserRoleByAccount("admin");
//System.out.print(sysUserService.getTest().toString());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment