From 676c6bc90dd189fa8cc41667f05679dbaede2ead Mon Sep 17 00:00:00 2001 From: Julien Giovaresco Date: Wed, 14 Feb 2024 17:26:18 +0100 Subject: [PATCH] test: add explicit wiremock dependency --- pom.xml | 14 +++++++++++++- .../xml/XmlThreatProtectionPolicyTest.java | 2 -- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f10bc79..756b2f1 100644 --- a/pom.xml +++ b/pom.xml @@ -44,6 +44,7 @@ 2.5.5 6.6.0 + 3.3.1 32.1.2-jre graviteeio-apim/plugins/policies @@ -120,13 +121,24 @@ gravitee-apim-gateway-tests-sdk ${gravitee-apim-gateway-tests-sdk.version} test + + + org.wiremock + wiremock-jre8 + + org.assertj assertj-core test - + + org.wiremock + wiremock-standalone + ${wiremock.version} + test + ch.qos.logback logback-classic diff --git a/src/test/java/io/gravitee/policy/threatprotection/xml/XmlThreatProtectionPolicyTest.java b/src/test/java/io/gravitee/policy/threatprotection/xml/XmlThreatProtectionPolicyTest.java index 677b6c7..bb07d89 100644 --- a/src/test/java/io/gravitee/policy/threatprotection/xml/XmlThreatProtectionPolicyTest.java +++ b/src/test/java/io/gravitee/policy/threatprotection/xml/XmlThreatProtectionPolicyTest.java @@ -20,8 +20,6 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.*; -import com.github.tomakehurst.wiremock.client.WireMock; -import com.github.tomakehurst.wiremock.core.WireMockConfiguration; import com.github.tomakehurst.wiremock.junit.WireMockRule; import io.gravitee.common.http.MediaType; import io.gravitee.gateway.api.Request;