We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952be44 commit cea77aeCopy full SHA for cea77ae
Spring-Boot-Swagger2/pom.xml
@@ -43,6 +43,12 @@
43
<groupId>org.springframework.boot</groupId>
44
<artifactId>spring-boot-starter-test</artifactId>
45
<scope>test</scope>
46
+ <exclusions>
47
+ <exclusion>
48
+ <groupId>org.junit.vintage</groupId>
49
+ <artifactId>junit-vintage-engine</artifactId>
50
+ </exclusion>
51
+ </exclusions>
52
</dependency>
53
</dependencies>
54
Spring-Boot-Swagger2/src/test/java/com/example/swagger2/SpringBootSwagger2ApplicationTests.java
@@ -1,11 +1,8 @@
1
package com.example.swagger2;
2
3
-import org.junit.Test;
4
-import org.junit.runner.RunWith;
+import org.junit.jupiter.api.Test;
5
import org.springframework.boot.test.context.SpringBootTest;
6
-import org.springframework.test.context.junit4.SpringRunner;
7
8
-@RunWith(SpringRunner.class)
9
@SpringBootTest
10
public class SpringBootSwagger2ApplicationTests {
11
0 commit comments