Skip to content

Commit

Permalink
test: add explicit wiremock dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiovaresco committed Feb 15, 2024
1 parent 3ac68d5 commit 676c6bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

<maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
<woodstox.version>6.6.0</woodstox.version>
<wiremock.version>3.3.1</wiremock.version>
<guava.version>32.1.2-jre</guava.version>
<!-- Property used by the publication job in CI-->
<publish-folder-path>graviteeio-apim/plugins/policies</publish-folder-path>
Expand Down Expand Up @@ -120,13 +121,24 @@
<artifactId>gravitee-apim-gateway-tests-sdk</artifactId>
<version>${gravitee-apim-gateway-tests-sdk.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-jre8</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>${wiremock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 676c6bc

Please sign in to comment.