Adjust test to changes in ObjectMapper printing on a newer Jackson version.
This commit is contained in:
@@ -73,12 +73,12 @@ class WireMockToDslConverterSpec extends Specification {
|
|||||||
response {
|
response {
|
||||||
status OK()
|
status OK()
|
||||||
body("""{
|
body("""{
|
||||||
"id": {
|
"id" : {
|
||||||
"value": "132"
|
"value" : "132"
|
||||||
},
|
},
|
||||||
"surname": "Kowalsky",
|
"surname" : "Kowalsky",
|
||||||
"name": "Jan",
|
"name" : "Jan",
|
||||||
"created": "2014-02-02 12:23:43"
|
"created" : "2014-02-02 12:23:43"
|
||||||
}""")
|
}""")
|
||||||
headers {
|
headers {
|
||||||
header 'Content-Type': 'text/plain'
|
header 'Content-Type': 'text/plain'
|
||||||
@@ -246,8 +246,8 @@ class WireMockToDslConverterSpec extends Specification {
|
|||||||
status OK()
|
status OK()
|
||||||
body("""[
|
body("""[
|
||||||
{
|
{
|
||||||
"a": 1,
|
"a" : 1,
|
||||||
"c": "3"
|
"c" : "3"
|
||||||
},
|
},
|
||||||
"b",
|
"b",
|
||||||
"a"
|
"a"
|
||||||
@@ -300,24 +300,24 @@ class WireMockToDslConverterSpec extends Specification {
|
|||||||
status OK()
|
status OK()
|
||||||
body("""[
|
body("""[
|
||||||
{
|
{
|
||||||
"amount": 1.01,
|
"amount" : 1.01,
|
||||||
"name": "Name",
|
"name" : "Name",
|
||||||
"info": {
|
"info" : {
|
||||||
"title": "title1",
|
"title" : "title1",
|
||||||
"payload": null
|
"payload" : null
|
||||||
},
|
},
|
||||||
"booleanvalue": true,
|
"booleanvalue" : true,
|
||||||
"user": null
|
"user" : null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"amount": 2.01,
|
"amount" : 2.01,
|
||||||
"name": "Name2",
|
"name" : "Name2",
|
||||||
"info": {
|
"info" : {
|
||||||
"title": "title2",
|
"title" : "title2",
|
||||||
"payload": null
|
"payload" : null
|
||||||
},
|
},
|
||||||
"booleanvalue": true,
|
"booleanvalue" : true,
|
||||||
"user": null
|
"user" : null
|
||||||
}
|
}
|
||||||
]""")
|
]""")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user