Java 4493 (#12393)
* 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
This commit is contained in:
parent
e827d93f03
commit
93eb5669cf
@ -118,6 +118,19 @@
|
|||||||
<version>${jmh-core.version}</version>
|
<version>${jmh-core.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</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>
|
<properties>
|
||||||
<pact.version>3.6.3</pact.version>
|
<pact.version>3.6.3</pact.version>
|
||||||
|
@ -17,7 +17,7 @@ import au.com.dius.pact.provider.junit5.PactVerificationContext;
|
|||||||
import au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider;
|
import au.com.dius.pact.provider.junit5.PactVerificationInvocationContextProvider;
|
||||||
|
|
||||||
@Provider("test_provider")
|
@Provider("test_provider")
|
||||||
@PactFolder("target/pacts")
|
@PactFolder("target/mypacts")
|
||||||
public class PactProviderLiveTest {
|
public class PactProviderLiveTest {
|
||||||
|
|
||||||
private static ConfigurableWebApplicationContext application;
|
private static ConfigurableWebApplicationContext application;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user