Skip to content

Commit

Permalink
Stop passing the Webhooks extension classpath (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev authored Dec 11, 2023
1 parent 3591a54 commit 43516be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 1 addition & 6 deletions test/integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,7 @@
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-webhooks-extension</artifactId>
<version>2.35.0</version>
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-webhooks-extension</artifactId>
<version>3.0.0</version>
<version>2.35.1</version>
</dependency>
</artifactItems>
<outputDirectory>${project.build.directory}/test-wiremock-extension</outputDirectory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ class WireMockContainerExtensionsWebhookTest {
private static final String WIREMOCK_PATH = "/wiremock/callback-trigger";
private static final String APPLICATION_PATH = "/application/callback-receiver";

public static String WEBHOOKS_VERSION="3.0.1";

TestHttpServer applicationServer = TestHttpServer.newInstance();
Slf4jLogConsumer logConsumer = new Slf4jLogConsumer(LOGGER);

Expand All @@ -70,7 +68,8 @@ class WireMockContainerExtensionsWebhookTest {
.withCliArg("--global-response-templating")
.withMapping("webhook-callback-template", WireMockContainerExtensionsWebhookTest.class,
"webhook-callback-template.json")
.withExtension("org.wiremock.webhooks.Webhooks")
// No longer needed and leads to crash on 3.3.1
// .withExtension("org.wiremock.webhooks.Webhooks")
.withAccessToHost(true); // Force the host access mechanism

@Before
Expand Down

0 comments on commit 43516be

Please sign in to comment.