Skip to content

Commit

Permalink
Update Payload Factory XML to JSON test case
Browse files Browse the repository at this point in the history
  • Loading branch information
SanojPunchihewa committed Dec 16, 2024
1 parent e20cfa3 commit 903633e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ public void testPayloadFactoryXMLToJson() throws IOException {

String expectedResponse = "{\n" +
" \"string\": \"John<\",\n" +
" \"escapedObject\": \"<pet><type>cat</type><name>emily\\\\ntini</name></pet>\",\n" +
" \"escapedObject2\": \"<pet2>\\n <type>dog&lt;</type>\\n <name>John\\\\nWayne</name>\\n </pet2>\",\n" +
" \"escapedObject\": \"<pet><type>cat</type><name>emily\\\\\\\\ntini</name></pet>\",\n" +
" \"escapedObject2\": \"<pet2>\\n <type>dog&lt;</type>\\n <name>John\\\\\\\\nWayne</name>\\n </pet2>\",\n" +
" \"object\": {\n" +
" \"pet\": {\n" +
" \"type\": \"cat\",\n" +
Expand Down

0 comments on commit 903633e

Please sign in to comment.