diff --git a/packages/cadl-ranch-specs/http/payload/xml/mockapi.ts b/packages/cadl-ranch-specs/http/payload/xml/mockapi.ts index b6a6c46e1..f8014e249 100644 --- a/packages/cadl-ranch-specs/http/payload/xml/mockapi.ts +++ b/packages/cadl-ranch-specs/http/payload/xml/mockapi.ts @@ -140,7 +140,7 @@ function createServerTests(uri: string, data?: any) { uri, method: "put", request: { - body: xml(data), + body: data, headers: { "content-type": "application/xml", },