Skip to content

Commit

Permalink
Consumer version selector method must be public
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Lucka committed Aug 9, 2022
1 parent 1217b61 commit 37de1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/junit5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ For example:

```java
@au.com.dius.pact.provider.junitsupport.loader.PactBrokerConsumerVersionSelectors
static SelectorBuilder consumerVersionSelectors() {
public static SelectorBuilder consumerVersionSelectors() {
// Select Pacts for consumers deployed to production with branch 'FEAT-123'
return new SelectorBuilder()
.environment('production')
Expand All @@ -142,7 +142,7 @@ Or for example where the branch is set with the `BRANCH_NAME` environment variab

```java
@au.com.dius.pact.provider.junitsupport.loader.PactBrokerConsumerVersionSelectors
static SelectorBuilder consumerVersionSelectors() {
public static SelectorBuilder consumerVersionSelectors() {
// Select Pacts for consumers deployed to production with branch from CI build
return new SelectorBuilder()
.environment('production')
Expand Down

0 comments on commit 37de1f2

Please sign in to comment.