Skip to content

Commit 417c20a

Browse files
committed
test(protocol): compare xml payload correctly
1 parent 94d0a2d commit 417c20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol_tests/aws-restxml/test/functional/restxml.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6767,7 +6767,7 @@ const compareEquivalentXmlBodies = (expectedBody: string, generatedBody: string)
67676767
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
67686768
delete parsedObjToReturn[textNodeName];
67696769
}
6770-
return parsedObjToReturn;
6770+
return parsedObj;
67716771
};
67726772

67736773
const expectedParts = parseXmlBody(expectedBody);

0 commit comments

Comments
 (0)