Commit a3cbe80f authored by machengbo's avatar machengbo

no message

parent fbdaddfb
...@@ -141,7 +141,6 @@ ...@@ -141,7 +141,6 @@
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
......
package com.jz.manage; 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.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -13,7 +14,9 @@ import java.util.Map; ...@@ -13,7 +14,9 @@ import java.util.Map;
@SpringBootTest @SpringBootTest
public class manageApplicationTests { public class manageApplicationTests {
@Autowired @Autowired
private UserService userService; private TestUserService userService;
@Autowired
private SysUserService sysUserService;
@Test @Test
public void contextLoads() { public void contextLoads() {
...@@ -25,5 +28,9 @@ public class manageApplicationTests { ...@@ -25,5 +28,9 @@ public class manageApplicationTests {
userService.getTest(); 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