Move integration test to JUnit 5
This commit is contained in:
parent
cda852f4e8
commit
1c6de07a54
@ -7,7 +7,6 @@ import lombok.extern.slf4j.Slf4j;
|
|||||||
import org.hamcrest.CoreMatchers;
|
import org.hamcrest.CoreMatchers;
|
||||||
import org.hamcrest.MatcherAssert;
|
import org.hamcrest.MatcherAssert;
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeAll;
|
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.owasp.webwolf.WebWolf;
|
import org.owasp.webwolf.WebWolf;
|
||||||
import org.springframework.boot.builder.SpringApplicationBuilder;
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
||||||
@ -48,7 +47,7 @@ public abstract class IntegrationTest {
|
|||||||
|
|
||||||
private static boolean started = false;
|
private static boolean started = false;
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeEach
|
||||||
public static void beforeAll() {
|
public static void beforeAll() {
|
||||||
if (WG_SSL) {
|
if (WG_SSL) {
|
||||||
WEBGOAT_URL = WEBGOAT_URL.replace("http:", "https:");
|
WEBGOAT_URL = WEBGOAT_URL.replace("http:", "https:");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user