Skip to content

Commit

Permalink
Fix name of XML root nodes in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed Oct 16, 2024
1 parent 5ec9e32 commit b2f4752
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions smithy-aws-protocol-tests/model/restXml/document-maps.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
method: "POST",
uri: "/NestedXmlMapWithXmlName",
body: """
<NestedXmlMapWithXmlNameRequest>
<NestedXmlMapWithXmlNameInputOutput>
<nestedXmlMapWithXmlNameMap>
<entry>
<OuterKey>foo</OuterKey>
Expand Down Expand Up @@ -713,7 +713,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
</value>
</entry>
</nestedXmlMapWithXmlNameMap>
</NestedXmlMapWithXmlNameRequest>
</NestedXmlMapWithXmlNameInputOutput>
""",
bodyMediaType: "application/xml",
headers: {
Expand All @@ -732,10 +732,6 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
}
}
}




])

apply NestedXmlMapWithXmlName @httpResponseTests([
Expand All @@ -745,7 +741,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
protocol: restXml,
code: 200,
body: """
<NestedXmlMapWithXmlNameResponse>
<NestedXmlMapWithXmlNameInputOutput>
<nestedXmlMapWithXmlNameMap>
<entry>
<OuterKey>foo</OuterKey>
Expand Down Expand Up @@ -774,7 +770,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
</value>
</entry>
</nestedXmlMapWithXmlNameMap>
</NestedXmlMapWithXmlNameResponse>
</NestedXmlMapWithXmlNameInputOutput>
"""
bodyMediaType: "application/xml",
headers: {
Expand Down

0 comments on commit b2f4752

Please sign in to comment.