Merge branch '1.2.x'
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<name>spring-cloud-contract-dependencies</name>
|
||||
<description>Spring Cloud Contract Dependencies</description>
|
||||
<properties>
|
||||
<wiremock.version>2.14.0</wiremock.version>
|
||||
<wiremock.version>2.15.0</wiremock.version>
|
||||
<jsonassert.version>0.4.11</jsonassert.version>
|
||||
<aether.version>1.0.2.v20150114</aether.version>
|
||||
</properties>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
wiremockVersion=2.14.0
|
||||
wiremockVersion=2.15.0
|
||||
jsonAssertVersion=0.4.11
|
||||
verifierVersion=2.0.0.BUILD-SNAPSHOT
|
||||
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
wiremockVersion=2.14.0
|
||||
wiremockVersion=2.15.0
|
||||
jsonAssertVersion=0.4.11
|
||||
verifierVersion=2.0.0.BUILD-SNAPSHOT
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
wiremockVersion=2.14.0
|
||||
wiremockVersion=2.15.0
|
||||
jsonAssertVersion=0.4.11
|
||||
verifierVersion=2.0.0.BUILD-SNAPSHOT
|
||||
@@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
wiremockVersion=2.14.0
|
||||
wiremockVersion=2.15.0
|
||||
jsonAssertVersion=0.4.11
|
||||
verifierVersion=2.0.0.BUILD-SNAPSHOT
|
||||
|
||||
|
||||
@@ -398,9 +398,9 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
|
||||
headers {
|
||||
header "Content-Type", "customtype/xml"
|
||||
}
|
||||
body """<name>${value(consumer('Jozo'), producer('Denis'))}</name><jobId>${
|
||||
body """<foo><name>${value(consumer('Jozo'), producer('Denis'))}</name><jobId>${
|
||||
value(consumer("<test>"), producer('1234567890'))
|
||||
}</jobId>"""
|
||||
}</jobId></foo>"""
|
||||
}
|
||||
response {
|
||||
status 200
|
||||
@@ -421,7 +421,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToXml":"<name>Jozo</name><jobId><test></jobId>"
|
||||
"equalToXml":"<foo><name>Jozo</name><jobId><test></jobId></foo>"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -549,9 +549,9 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
|
||||
request {
|
||||
method 'GET'
|
||||
url "/users"
|
||||
body equalToXml("""<name>${value(consumer('Jozo'), producer('Denis'))}</name><jobId>${
|
||||
body equalToXml("""<foo><name>${value(consumer('Jozo'), producer('Denis'))}</name><jobId>${
|
||||
value(consumer("<test>"), producer('1234567890'))
|
||||
}</jobId>""")
|
||||
}</jobId></foo>""")
|
||||
}
|
||||
response {
|
||||
status 200
|
||||
@@ -567,7 +567,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
|
||||
"url": "/users",
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToXml":"<name>Jozo</name><jobId><test></jobId>"
|
||||
"equalToXml":"<foo><name>Jozo</name><jobId><test></jobId></foo>"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user