Skip to content

Commit 24380db

Browse files
committed
Revert osgi-tests back to JUnit 4
1 parent 9c12601 commit 24380db

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

examples/rest-assured-itest-java-osgi/pom.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,19 @@
9494
</dependency>
9595
<dependency>
9696
<groupId>javax.xml.bind</groupId>
97-
<artifactId>jaxb-api</artifactId>
98-
<scope>test</scope>
97+
<artifactId>jaxb-api</artifactId>
98+
<scope>test</scope>
99+
</dependency>
100+
<dependency>
101+
<groupId>org.assertj</groupId>
102+
<artifactId>assertj-core</artifactId>
103+
<scope>test</scope>
104+
</dependency>
105+
<dependency>
106+
<groupId>junit</groupId>
107+
<artifactId>junit</artifactId>
108+
<version>4.13.2</version>
109+
<scope>test</scope>
99110
</dependency>
100111

101112
</dependencies>
@@ -139,7 +150,7 @@
139150
<groupId>org.basepom.maven</groupId>
140151
<artifactId>duplicate-finder-maven-plugin</artifactId>
141152
<configuration>
142-
<skip>true</skip>
153+
<skip>true</skip>
143154
</configuration>
144155
</plugin>
145156
</plugins>

examples/rest-assured-itest-java-osgi/src/test/java/io/restassured/test/osgi/JsonPathOSGiITest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
package io.restassured.test.osgi;
1818

1919
import io.restassured.path.json.JsonPath;
20-
import org.junit.jupiter.api.Disabled;
21-
import org.junit.jupiter.api.Test;
20+
import org.junit.Test;
2221
import org.junit.runner.RunWith;
2322
import org.ops4j.pax.exam.Configuration;
2423
import org.ops4j.pax.exam.Option;

examples/rest-assured-itest-java-osgi/src/test/java/io/restassured/test/osgi/RestAssuredOSGiITest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
package io.restassured.test.osgi;
1818

19-
import org.junit.jupiter.api.Disabled;
20-
import org.junit.jupiter.api.Test;
19+
import org.junit.Test;
2120
import org.junit.runner.RunWith;
2221
import org.ops4j.pax.exam.Configuration;
2322
import org.ops4j.pax.exam.Option;

examples/rest-assured-itest-java-osgi/src/test/java/io/restassured/test/osgi/XmlPathOSGiITest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
package io.restassured.test.osgi;
1818

1919
import org.hamcrest.Matchers;
20-
import org.junit.jupiter.api.Disabled;
21-
import org.junit.jupiter.api.Test;
20+
import org.junit.Test;
2221
import org.junit.runner.RunWith;
2322
import org.ops4j.pax.exam.Configuration;
2423
import org.ops4j.pax.exam.Option;

0 commit comments

Comments
 (0)