Skip to content

Commit

Permalink
Update mockapi.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgallan committed Oct 21, 2024
1 parent c9184bb commit 8652016
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/cadl-ranch-specs/http/versioning/removed/mockapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ Scenarios.Versioning_Removed_modelV3 = passOnSuccess({
status: 200,
body: json({ id: "123", enumProp: "enumMemberV1" }),
},
handler: (req: MockRequest) => {
req.expect.bodyEquals({ id: "123", enumProp: "enumMemberV1" });
return { status: 200, body: json({ id: "123", enumProp: "enumMemberV1" }) };
},
kind: "MockApiDefinition",
});

Expand All @@ -53,10 +49,6 @@ Scenarios.Versioning_Removed_modelV3_V2 = passOnSuccess({
status: 200,
body: json({ id: "123", enumProp: "enumMemberV1" }),
},
handler: (req: MockRequest) => {
req.expect.bodyEquals({ id: "123", enumProp: "enumMemberV1" });
return { status: 200, body: json({ id: "123", enumProp: "enumMemberV1" }) };
},
kind: "MockApiDefinition",
});

Expand All @@ -72,9 +64,5 @@ Scenarios.Versioning_Removed_modelV3_V2preview = passOnSuccess({
status: 200,
body: json({ id: "123" }),
},
handler: (req: MockRequest) => {
req.expect.bodyEquals({ id: "123" });
return { status: 200, body: json({ id: "123" }) };
},
kind: "MockApiDefinition",
});

0 comments on commit 8652016

Please sign in to comment.