Skip to content

Commit 50b5ee0

Browse files
committed
hsearch-elasticsearch-wikipedia: Upgrade to JUnit 5
1 parent 16f92ce commit 50b5ee0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hibernate-search/hsearch-elasticsearch-wikipedia/src/test/java/org/hibernate/search/demos/wikipedia/HsearchElasticsearchWikipediaApplicationIT.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@
33
import static io.restassured.RestAssured.given;
44
import static org.skyscreamer.jsonassert.JSONCompare.compareJSON;
55

6-
import org.junit.Test;
7-
import org.junit.runner.RunWith;
6+
import org.junit.jupiter.api.Test;
87

98
import io.restassured.RestAssured;
109
import io.restassured.http.ContentType;
1110
import org.json.JSONException;
1211
import org.skyscreamer.jsonassert.JSONCompareMode;
1312
import org.springframework.boot.test.context.SpringBootTest;
1413
import org.springframework.test.context.ActiveProfiles;
15-
import org.springframework.test.context.junit4.SpringRunner;
1614

17-
@RunWith(SpringRunner.class)
1815
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
1916
@ActiveProfiles("test")
2017
public class HsearchElasticsearchWikipediaApplicationIT {

0 commit comments

Comments
 (0)