Skip to content

Commit b2f4752

Browse files
committed
Fix name of XML root nodes in tests
1 parent 5ec9e32 commit b2f4752

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

smithy-aws-protocol-tests/model/restXml/document-maps.smithy

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
684684
method: "POST",
685685
uri: "/NestedXmlMapWithXmlName",
686686
body: """
687-
<NestedXmlMapWithXmlNameRequest>
687+
<NestedXmlMapWithXmlNameInputOutput>
688688
<nestedXmlMapWithXmlNameMap>
689689
<entry>
690690
<OuterKey>foo</OuterKey>
@@ -713,7 +713,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
713713
</value>
714714
</entry>
715715
</nestedXmlMapWithXmlNameMap>
716-
</NestedXmlMapWithXmlNameRequest>
716+
</NestedXmlMapWithXmlNameInputOutput>
717717
""",
718718
bodyMediaType: "application/xml",
719719
headers: {
@@ -732,10 +732,6 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
732732
}
733733
}
734734
}
735-
736-
737-
738-
739735
])
740736

741737
apply NestedXmlMapWithXmlName @httpResponseTests([
@@ -745,7 +741,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
745741
protocol: restXml,
746742
code: 200,
747743
body: """
748-
<NestedXmlMapWithXmlNameResponse>
744+
<NestedXmlMapWithXmlNameInputOutput>
749745
<nestedXmlMapWithXmlNameMap>
750746
<entry>
751747
<OuterKey>foo</OuterKey>
@@ -774,7 +770,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
774770
</value>
775771
</entry>
776772
</nestedXmlMapWithXmlNameMap>
777-
</NestedXmlMapWithXmlNameResponse>
773+
</NestedXmlMapWithXmlNameInputOutput>
778774
"""
779775
bodyMediaType: "application/xml",
780776
headers: {

0 commit comments

Comments
 (0)