Bumps WireMock to 2.28.1; fixes gh-1659

This commit is contained in:
Marcin Grzejszczak
2021-06-08 11:20:41 +02:00
parent 2683a022d5
commit 3f9ee94043
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
<name>spring-cloud-contract-dependencies</name> <name>spring-cloud-contract-dependencies</name>
<description>Spring Cloud Contract Dependencies</description> <description>Spring Cloud Contract Dependencies</description>
<properties> <properties>
<wiremock.version>2.27.1</wiremock.version> <wiremock.version>2.28.1</wiremock.version>
<jsonassert.version>0.6.1</jsonassert.version> <jsonassert.version>0.6.1</jsonassert.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>

View File

@@ -1008,7 +1008,7 @@ class DslToWireMockClientConverterSpec extends Specification {
.header("Content-Type", "application/json") .header("Content-Type", "application/json")
.body('''{"email":"abc@abc.com", "callback_url":"https://partners.com"}''') .body('''{"email":"abc@abc.com", "callback_url":"https://partners.com"}''')
, String) , String)
response.headers.get('Content-Type') == ['application/json;charset=utf-8'] response.headers.get('Content-Type') == ['application/json;charset=UTF-8']
response.statusCodeValue == 400 response.statusCodeValue == 400
JSONAssert.assertEquals('''{"message":"[8.2 Profile/3.7 Bad Request]"}"''', response.body, false) JSONAssert.assertEquals('''{"message":"[8.2 Profile/3.7 Bad Request]"}"''', response.body, false)
} }

View File

@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
wiremockVersion=2.27.0 wiremockVersion=2.28.1
jsonAssertVersion=0.6.1 jsonAssertVersion=0.6.1
verifierVersion=3.0.4-SNAPSHOT verifierVersion=3.0.4-SNAPSHOT
groovyVersion=2.4.17 groovyVersion=2.4.17

View File

@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
wiremockVersion=2.27.0 wiremockVersion=2.28.1
jsonAssertVersion=0.6.1 jsonAssertVersion=0.6.1
verifierVersion=3.0.4-SNAPSHOT verifierVersion=3.0.4-SNAPSHOT
bootVersion=2.4.6 bootVersion=2.4.6

View File

@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
wiremockVersion=2.27.0 wiremockVersion=2.28.1
jsonAssertVersion=0.6.1 jsonAssertVersion=0.6.1
verifierVersion=3.0.4-SNAPSHOT verifierVersion=3.0.4-SNAPSHOT
bootVersion=2.4.6 bootVersion=2.4.6