Closed novarx closed 9 months ago
Citrus Version
4.1.0
Context
JsonTextMessageValidator#validateMessage
Expected behavior
The validation of a given json array, compared to a control json, should ignore the order of array items. i.e. the follwing "recived-json"
{ "books": ["book-c", "book-b", "book-a"] }
should throw no ValidationException when compared with the follwing "control-json"
{ "books": ["book-a", "book-b", "book-c"] }
Actual behavior
The item ordering is always asserted, even when not in strict mode.
strict
Test case sample
See Pull Request (#1102)
fixed in https://github.com/citrusframework/citrus/pull/1102.
Citrus Version
4.1.0
Context
JsonTextMessageValidator#validateMessage
Expected behavior
The validation of a given json array, compared to a control json, should ignore the order of array items. i.e. the follwing "recived-json"
should throw no ValidationException when compared with the follwing "control-json"
Actual behavior
The item ordering is always asserted, even when not in
strict
mode.Test case sample
See Pull Request (#1102)