Skip to content

Commit ad71032

Browse files
committed
fix junit
1 parent e7293de commit ad71032

File tree

3 files changed

+1
-58
lines changed

3 files changed

+1
-58
lines changed

pom.xml

-21
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@
5656
<artifactId>bootstrap</artifactId>
5757
<version>5.1.3</version>
5858
</dependency>
59-
<!-- junit 5 -->
60-
<dependency>
61-
<groupId>org.junit.jupiter</groupId>
62-
<artifactId>junit-jupiter-api</artifactId>
63-
<scope>test</scope>
64-
</dependency>
65-
66-
<dependency>
67-
<groupId>org.junit.jupiter</groupId>
68-
<artifactId>junit-jupiter-engine</artifactId>
69-
<scope>test</scope>
70-
</dependency>
7159
</dependencies>
7260

7361
<build>
@@ -84,15 +72,6 @@
8472
</execution>
8573
</executions>
8674
</plugin>
87-
<plugin>
88-
<groupId>org.apache.maven.plugins</groupId>
89-
<artifactId>maven-surefire-plugin</artifactId>
90-
<configuration>
91-
<excludes>
92-
<exclude>**/*IT.java</exclude>
93-
</excludes>
94-
</configuration>
95-
</plugin>
9675
</plugins>
9776
</build>
9877

src/test/java/de/viadee/k8s/testapp/testapp/TestappApplicationIT.java

-34
This file was deleted.

src/test/java/de/viadee/k8s/testapp/testapp/TestappApplicationTests.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
package de.viadee.k8s.testapp.testapp;
22

3-
import org.junit.Test;
4-
import org.junit.runner.RunWith;
3+
import org.junit.jupiter.api.Test;
54
import org.springframework.boot.test.context.SpringBootTest;
65
import org.springframework.test.context.junit4.SpringRunner;
76

8-
@RunWith(SpringRunner.class)
97
@SpringBootTest
108
public class TestappApplicationTests {
119

0 commit comments

Comments
 (0)