Skip to content

Commit

Permalink
Java 4493 (eugenp#12393)
Browse files Browse the repository at this point in the history
* JAVA-4493: Add missing live test for Consumer Driven Contracts article

* JAVA-4493: Add missing live test for Consumer Driven Contracts article

* JAVA-4493: code sync up with article
  • Loading branch information
freelansam authored Jun 22, 2022
1 parent 706200b commit 65c71ee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions libraries-5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,19 @@
<version>${jmh-core.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<pact.rootDir>target/mypacts</pact.rootDir>
</systemPropertyVariables> </configuration>
</plugin>
</plugins>
</build>

<properties>
<pact.version>3.6.3</pact.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider;

@Provider("test_provider")
@PactFolder("target/pacts")
@PactFolder("target/mypacts")
public class PactProviderLiveTest {

private static ConfigurableWebApplicationContext application;
Expand Down

0 comments on commit 65c71ee

Please sign in to comment.