From 02e4e131bd8b1c97a09511d5295d64d3e8692cdc Mon Sep 17 00:00:00 2001 From: JordonPhillips Date: Tue, 14 Sep 2021 15:48:38 +0200 Subject: [PATCH] Fix misconfigured malformed request tests --- .../model/restJson1/malformedRequests/malformed-string.smithy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/smithy-aws-protocol-tests/model/restJson1/malformedRequests/malformed-string.smithy b/smithy-aws-protocol-tests/model/restJson1/malformedRequests/malformed-string.smithy index 92ce14da7bc..050a2fe6012 100644 --- a/smithy-aws-protocol-tests/model/restJson1/malformedRequests/malformed-string.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/malformedRequests/malformed-string.smithy @@ -21,8 +21,6 @@ apply MalformedString @httpMalformedRequestTests([ request: { method: "POST", uri: "/MalformedString", - body: """ - { "blob" : $value:L }""", headers: { "content-type": "application/json", "amz-media-typed-header": "$value:L", @@ -51,7 +49,7 @@ apply MalformedString @httpMalformedRequestTests([ ]) structure MalformedStringInput { - @httpHeader("x-media-typed-header") + @httpHeader("amz-media-typed-header") blob: JsonHeaderString, }