From 37156f9773f1031072874c38ffe7ea11ef058c60 Mon Sep 17 00:00:00 2001 From: mcgallan <1186003288@qq.com> Date: Fri, 11 Oct 2024 15:34:25 +0800 Subject: [PATCH] Update mockapi.ts --- .../http/parameters/body-optionality/mockapi.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/cadl-ranch-specs/http/parameters/body-optionality/mockapi.ts b/packages/cadl-ranch-specs/http/parameters/body-optionality/mockapi.ts index 4cc75fe07..e7a00ee5e 100644 --- a/packages/cadl-ranch-specs/http/parameters/body-optionality/mockapi.ts +++ b/packages/cadl-ranch-specs/http/parameters/body-optionality/mockapi.ts @@ -38,10 +38,3 @@ Scenarios.Parameters_BodyOptionality_OptionalityOrdering = passOnSuccess([ return { status: 204 }; }), ]); - -Scenarios.Parameters_BodyOptionality_OrderingWithOptionalStart = passOnSuccess( - mockapi.head("/parameters/query-optionality/startwithoptional", (req) => { - req.expect.bodyEquals({ end: "required" }); - return { status: 204 }; - }), -);