Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姚本章
dm_project
Commits
a3cbe80f
Commit
a3cbe80f
authored
Dec 01, 2020
by
machengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
fbdaddfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
pom.xml
jz-dm-manage/pom.xml
+0
-1
manageApplicationTests.java
...e/src/test/java/com/jz/manage/manageApplicationTests.java
+10
-3
No files found.
jz-dm-manage/pom.xml
View file @
a3cbe80f
...
...
@@ -141,7 +141,6 @@
<version>
1.0.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
...
...
jz-dm-manage/src/test/java/com/jz/manage/manageApplicationTests.java
View file @
a3cbe80f
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());
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment