Fixed the invalid check of transformers array
This commit is contained in:
@@ -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[] -->
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user