File tree 2 files changed +7
-4
lines changed
src/test/java/com/example/swagger2
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 43
43
<groupId >org.springframework.boot</groupId >
44
44
<artifactId >spring-boot-starter-test</artifactId >
45
45
<scope >test</scope >
46
+ <exclusions >
47
+ <exclusion >
48
+ <groupId >org.junit.vintage</groupId >
49
+ <artifactId >junit-vintage-engine</artifactId >
50
+ </exclusion >
51
+ </exclusions >
46
52
</dependency >
47
53
</dependencies >
48
54
Original file line number Diff line number Diff line change 1
1
package com .example .swagger2 ;
2
2
3
- import org .junit .Test ;
4
- import org .junit .runner .RunWith ;
3
+ import org .junit .jupiter .api .Test ;
5
4
import org .springframework .boot .test .context .SpringBootTest ;
6
- import org .springframework .test .context .junit4 .SpringRunner ;
7
5
8
- @ RunWith (SpringRunner .class )
9
6
@ SpringBootTest
10
7
public class SpringBootSwagger2ApplicationTests {
11
8
You can’t perform that action at this time.
0 commit comments