Skip to content

Commit

Permalink
Fix MalformedAcceptWithGenericString
Browse files Browse the repository at this point in the history
MalformedAcceptWithGenericString targets a Blob, while it should test
the behavior with a String payload

Signed-off-by: Daniele Ahmed <[email protected]>
  • Loading branch information
Daniele Ahmed authored and kstich committed Jun 3, 2022
1 parent d654ab1 commit 3664330
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ apply MalformedAcceptWithGenericString @httpMalformedRequestTests([
protocol: restJson1,
request: {
method: "POST",
uri: "/MalformedAcceptWithPayload",
uri: "/MalformedAcceptWithGenericString",
headers: {
// this should be text/plain
"accept": "application/json"
Expand Down Expand Up @@ -105,5 +105,5 @@ operation MalformedAcceptWithGenericString {

structure MalformedAcceptWithGenericStringInput {
@httpPayload
payload: Blob
payload: String
}

0 comments on commit 3664330

Please sign in to comment.