Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
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
openSource
spring-boot-admin
Commits
a7bcfb9b
Commit
a7bcfb9b
authored
Aug 28, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace SpringJUnit4ClassRunner with SpringRunner
parent
32e368f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AdminApplicationTest.java
.../java/de/codecentric/boot/admin/AdminApplicationTest.java
+2
-2
No files found.
spring-boot-admin-server/src/test/java/de/codecentric/boot/admin/AdminApplicationTest.java
View file @
a7bcfb9b
...
...
@@ -30,7 +30,7 @@ import org.springframework.boot.test.web.client.TestRestTemplate;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.test.context.junit4.Spring
JUnit4Class
Runner
;
import
org.springframework.test.context.junit4.SpringRunner
;
import
de.codecentric.boot.admin.AdminApplicationTest.TestAdminApplication
;
import
de.codecentric.boot.admin.config.EnableAdminServer
;
...
...
@@ -41,7 +41,7 @@ import de.codecentric.boot.admin.model.Application;
*
* @author Dennis Schulte
*/
@RunWith
(
Spring
JUnit4Class
Runner
.
class
)
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
TestAdminApplication
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
,
properties
=
{
"spring.cloud.config.enabled=false"
})
public
class
AdminApplicationTest
{
...
...
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