From a8d989a888a1036e04bda2cd46d303be10c8ba1b Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sat, 18 Sep 2021 14:01:25 +1000 Subject: [PATCH] chore: add provider verification test with pact file from Pact-JS V3 #1434 --- .../pact/provider/junit5/EachLikeFromPactJsTest.groovy | 6 ------ .../Matching Service V3-Animal Profile Service V3.json | 8 -------- 2 files changed, 14 deletions(-) diff --git a/provider/junit5/src/test/groovy/au/com/dius/pact/provider/junit5/EachLikeFromPactJsTest.groovy b/provider/junit5/src/test/groovy/au/com/dius/pact/provider/junit5/EachLikeFromPactJsTest.groovy index ccdf996ab2..d53cc5a3cd 100644 --- a/provider/junit5/src/test/groovy/au/com/dius/pact/provider/junit5/EachLikeFromPactJsTest.groovy +++ b/provider/junit5/src/test/groovy/au/com/dius/pact/provider/junit5/EachLikeFromPactJsTest.groovy @@ -8,7 +8,6 @@ import com.github.tomakehurst.wiremock.WireMockServer import groovy.json.JsonOutput import groovy.util.logging.Slf4j import org.apache.commons.lang3.RandomUtils -import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.TestTemplate import org.junit.jupiter.api.extension.ExtendWith @@ -32,11 +31,6 @@ import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo class EachLikeFromPactJsTest { private WireMockServer server - @BeforeAll - static void setup() { - System.setProperty('pact.matching.wildcard', 'true') - } - @TestTemplate @ExtendWith(PactVerificationInvocationContextProvider) void testTemplate(PactVerificationContext context) { diff --git a/provider/junit5/src/test/resources/pacts/Matching Service V3-Animal Profile Service V3.json b/provider/junit5/src/test/resources/pacts/Matching Service V3-Animal Profile Service V3.json index 25f758a002..93bc74ac2f 100644 --- a/provider/junit5/src/test/resources/pacts/Matching Service V3-Animal Profile Service V3.json +++ b/provider/junit5/src/test/resources/pacts/Matching Service V3-Animal Profile Service V3.json @@ -141,14 +141,6 @@ } ] }, - "$.identifiers.*": { - "combine": "AND", - "matchers": [ - { - "match": "type" - } - ] - }, "$.identifiers.*.description": { "combine": "AND", "matchers": [