Fixed the invalid check of transformers array

This commit is contained in:
Marcin Grzejszczak
2017-10-06 11:21:52 +02:00
parent 0758f4ec38
commit 3ec444e776
6 changed files with 5 additions and 14 deletions

View File

@@ -21,7 +21,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<spring-cloud-contract.version>1.2.0.BUILD-SNAPSHOT</spring-cloud-contract.version>
<spring-cloud-commons.version>1.1.8.RELEASE</spring-cloud-commons.version>
</properties>
<dependencies>
@@ -89,13 +88,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons-dependencies</artifactId>
<version>${spring-cloud-commons.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- end::contract_bom[] -->

View File

@@ -14,6 +14,6 @@
# limitations under the License.
#
wiremockVersion=2.8.0
jsonAssertVersion=0.4.8
jsonAssertVersion=0.4.10
verifierVersion=1.2.0.BUILD-SNAPSHOT

View File

@@ -14,5 +14,5 @@
# limitations under the License.
#
wiremockVersion=2.8.0
jsonAssertVersion=0.4.8
jsonAssertVersion=0.4.10
verifierVersion=1.2.0.BUILD-SNAPSHOT

View File

@@ -14,5 +14,5 @@
# limitations under the License.
#
wiremockVersion=2.8.0
jsonAssertVersion=0.4.8
jsonAssertVersion=0.4.10
verifierVersion=1.2.0.BUILD-SNAPSHOT

View File

@@ -14,6 +14,6 @@
# limitations under the License.
#
wiremockVersion=2.8.0
jsonAssertVersion=0.4.8
jsonAssertVersion=0.4.10
verifierVersion=1.2.0.BUILD-SNAPSHOT

View File

@@ -1936,8 +1936,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
"body" : "{\\"id\\":\\"foo\\"}",
"headers" : {
"Content-Type" : "application/json;charset=UTF-8"
},
"transformers" : [ "response-template" ]
}
}
}
''', wireMockStub)