Skip to content

Commit

Permalink
Merge pull request #4537 from telefonicaid/hardening/sort-keys-in-jso…
Browse files Browse the repository at this point in the history
…n-used-in-tests

FIX sort keys in JSON used in test
  • Loading branch information
mapedraza authored Apr 22, 2024
2 parents afcea51 + 3bc9432 commit 5fe943b
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down Expand Up @@ -304,13 +304,13 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}); cbnotif=1
"metadata": {},
"type": "StructuredValue",
"value": [
"{\"z\":10,\"w\":\"ttt\"} thing",
"{\"w\":\"ttt\",\"z\":10} thing",
{
"one": [
"foo [4,null,{\"r\":2}] bar",
"this is: null"
],
"two": "some other{\"z\":10,\"w\":\"ttt\"}"
"two": "some other{\"w\":\"ttt\",\"z\":10}"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down Expand Up @@ -287,7 +287,7 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}); cbnotif=1
"A3": {
"metadata": {},
"type": "Boolean",
"value": "this is an stringfied object: {\"z\":10,\"w\":\"ttt\"}"
"value": "this is an stringfied object: {\"w\":\"ttt\",\"z\":10}"
},
"A4": {
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10},
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ payload='{
"type": "irrelevant"
},
"A4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10},
"type": "irrelevant"
},
"A5": {
Expand Down Expand Up @@ -273,7 +273,7 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}); cbnotif=1
"A4": {
"metadata": {},
"type": "Text",
"value": "this is A4: {\"z\":10,\"w\":\"ttt\"}"
"value": "this is A4: {\"w\":\"ttt\",\"z\":10}"
},
"A5": {
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"A4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"A5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10},
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down Expand Up @@ -296,13 +296,13 @@ MQTT message at topic topic1:
"metadata": {},
"type": "StructuredValue",
"value": [
"{\"z\":10,\"w\":\"ttt\"} thing",
"{\"w\":\"ttt\",\"z\":10} thing",
{
"one": [
"foo [4,null,{\"r\":2}] bar",
"this is: null"
],
"two": "some other{\"z\":10,\"w\":\"ttt\"}"
"two": "some other{\"w\":\"ttt\",\"z\":10}"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down Expand Up @@ -279,7 +279,7 @@ MQTT message at topic topic1:
"A3": {
"metadata": {},
"type": "Boolean",
"value": "this is an stringfied object: {\"z\":10,\"w\":\"ttt\"}"
"value": "this is an stringfied object: {\"w\":\"ttt\",\"z\":10}"
},
"A4": {
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ payload='{
"type": "irrelevant"
},
"B4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"B5": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ payload='{
"type": "irrelevant"
},
"A4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10 },
"type": "irrelevant"
},
"A5": {
Expand Down Expand Up @@ -265,7 +265,7 @@ MQTT message at topic topic1:
"A4": {
"metadata": {},
"type": "Text",
"value": "this is A4: {\"z\":10,\"w\":\"ttt\"}"
"value": "this is A4: {\"w\":\"ttt\",\"z\":10}"
},
"A5": {
"metadata": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ payload='{
"type": "irrelevant"
},
"A4": {
"value": { "z": 10, "w": "ttt"},
"value": { "w": "ttt", "z": 10},
"type": "irrelevant"
},
"A5": {
Expand Down

0 comments on commit 5fe943b

Please sign in to comment.