-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Is your feature request related to a problem? Please describe.
expect example
{
"code": "0",
"subCode": "0",
"msg": "success",
"data": {
"pageStatus": 0,
"publishStatus": 10,
"floorList": [
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "882217409853299568",
"parentId": "2",
"floorList": [],
"version": "0"
},
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "365117409854200806",
"parentId": "0",
"floorList": [
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "357617409854200802",
"parentId": "365117409854200806",
"floorList": [
{
"floorTempId": "5859",
"pageId": "3646",
"identityId": "963117409854200813",
"parentId": "357617409854200802",
"floorList": [],
"version": "0"
}
],
"version": "0"
},
{
"floorTempId": "5835",
"pageId": "3646",
"identityId": "689717409854200822",
"parentId": "365117409854200806",
"floorList": [],
"version": "0"
}
],
"version": "0"
},
{
"floorTempId": "5040",
"pageId": "3646",
"identityId": "764317409853299570",
"parentId": "0",
"floorList": [],
"version": "0"
}
]
}
}actual example
{
"code": "0",
"subCode": "0",
"msg": "success",
"data": {
"pageStatus": 0,
"publishStatus": 10,
"floorList": [
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "882217409853299568",
"parentId": "1",
"floorList": [],
"version": "0"
},
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "365117409854200806",
"parentId": "0",
"floorList": [
{
"floorTempId": "-1",
"pageId": "3646",
"identityId": "357617409854200802",
"parentId": "365117409854200806",
"floorList": [
{
"floorTempId": "5859",
"pageId": "3646",
"identityId": "963117409854200813",
"parentId": "357617409854200802",
"floorList": [],
"version": "0"
}
],
"version": "0"
},
{
"floorTempId": "5835",
"pageId": "3646",
"identityId": "689717409854200822",
"parentId": "365117409854200806",
"floorList": [],
"version": "0"
}
],
"version": "0"
},
{
"floorTempId": "5040",
"pageId": "3646",
"identityId": "764317409853299570",
"parentId": "0",
"floorList": [],
"version": "0"
}
]
}
}current diff result
diffs: [data -> floorList -> JSON ARRAY elements differ at position 1:
{
"floorTempId" : "-1",
"pageId" : "3646",
"identityId" : 0,
"parentId" : "2",
"floorList" : [ ],
"version" : "0"
}
________diffs________
parentId ->
Expected value: "2" But got: "1"]
Describe the solution you'd like
expect diff result
The property "$.data.floorList[0].parentId" didn't match. Expected 2, Received: 1
Describe alternatives you've considered
Additional context
Metadata
Metadata
Assignees
Labels
No labels