master- Sync Repo
This commit is contained in:
parent
f6195fc09b
commit
6cba54ad58
@ -32,10 +32,10 @@ public class ContractTest {
|
|||||||
void pactVerificationTestTemplate(PactVerificationContext context) {
|
void pactVerificationTestTemplate(PactVerificationContext context) {
|
||||||
context.verifyInteraction();
|
context.verifyInteraction();
|
||||||
}
|
}
|
||||||
|
|
||||||
@State("User 1 exists")
|
@State("User 1 exists")
|
||||||
public void user1Exists() {
|
public void user1Exists() {
|
||||||
// nothing to do, real service is used
|
// nothing to do, real service is used
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ import static org.mockito.Mockito.when;
|
|||||||
@Provider("user-service")
|
@Provider("user-service")
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||||
// pact_broker is the service name in docker-compose
|
// pact_broker is the service name in docker-compose
|
||||||
@PactBroker(host = "https://pact.bayhan.ca", tags = "${pactbroker.tags:origin/master}")
|
@PactBroker(host = "pact.bayhan.ca", port = "443", tags = "${pactbroker.tags:origin/master}")
|
||||||
public class GenericStateWithParameterContractTest {
|
public class GenericStateWithParameterContractTest {
|
||||||
|
|
||||||
@LocalServerPort
|
@LocalServerPort
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user