Move integration test to JUnit 5

This commit is contained in:
Nanne Baars 2021-03-30 17:51:22 +02:00 committed by Nanne Baars
parent cda852f4e8
commit 1c6de07a54

View File

@ -7,7 +7,6 @@ import lombok.extern.slf4j.Slf4j;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.owasp.webwolf.WebWolf;
import org.springframework.boot.builder.SpringApplicationBuilder;
@ -48,7 +47,7 @@ public abstract class IntegrationTest {
private static boolean started = false;
@BeforeAll
@BeforeEach
public static void beforeAll() {
if (WG_SSL) {
WEBGOAT_URL = WEBGOAT_URL.replace("http:", "https:");