Skip to content

Commit

Permalink
PP-11279: Run the connector-adminusers messaging pact test (#2255)
Browse files Browse the repository at this point in the history
* PP-11279: Run the connector-adminusers messaging pact test

This is safe to merge now as there is no published pact where the provider is adminusers and consumer is connector tagged with "master" and above (i.e. "test-fargate", "staging-fargate" etc). For reference the pact to be published is at alphagov/pay-connector#4837.
  • Loading branch information
oswaldquek authored Nov 16, 2023
1 parent 02eaa2c commit 552e227
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,8 @@
</dependency>
<dependency>
<groupId>au.com.dius</groupId>
<artifactId>pact-jvm-provider-junit_2.12</artifactId>
<version>${pact.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>au.com.dius</groupId>
<artifactId>pact-jvm-consumer-junit_2.12</artifactId>
<version>${pact.version}</version>
<artifactId>pact-jvm-provider-junit</artifactId>
<version>4.0.10</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.junit.runner.RunWith;

@RunWith(PactRunner.class)
@Provider("connector")
@Provider("adminusers")
@PactBroker(scheme = "https", host = "${PACT_BROKER_HOST:pact-broker.deploy.payments.service.gov.uk}", tags = {"${PACT_CONSUMER_TAG}", "test-fargate"},
authentication = @PactBrokerAuth(username = "${PACT_BROKER_USERNAME}", password = "${PACT_BROKER_PASSWORD}"),
consumers = {"connector"})
Expand Down

0 comments on commit 552e227

Please sign in to comment.