Skip to content

Commit

Permalink
fix update missed tests #1104
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Jun 11, 2020
1 parent 9d2fe1c commit a301a7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class InteractionRunnerSpec extends Specification {
@SuppressWarnings('ClosureAsLastMethodParameter')
def 'If interaction is excluded via properties than it should be marked as ignored'() {
given:
System.properties.setProperty('pact.filter.interaction', 'interaction1')
System.properties.setProperty('pact.filter.description', 'interaction1')
def interaction1 = new RequestResponseInteraction('interaction1', [], new Request(), new Response())
def interaction2 = new RequestResponseInteraction('interaction2', [], new Request(), new Response())
def pact = new RequestResponsePact(new Provider(), new Consumer(), [ interaction1, interaction2 ])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class PactVerificationInvocationContextProviderSpec extends Specification {
@RestoreSystemProperties
def 'supports filtering the interactions'() {
given:
System.setProperty('pact.filter.interaction', 'Get data 2')
System.setProperty('pact.filter.description', 'Get data 2')

when:
def extensions = provider.provideTestTemplateInvocationContexts([
Expand Down

0 comments on commit a301a7d

Please sign in to comment.