Skip to content

Commit

Permalink
chore: remove empty query from POST /requests API middleware test
Browse files Browse the repository at this point in the history
  • Loading branch information
samarpan1738 committed Sep 19, 2024
1 parent 266decf commit f63200c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/unit/middlewares/requests.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ describe("Create Request Validators", function () {
it("should pass validation for a valid create request", async function () {
req = {
body: validOooStatusRequests,
query: {},
};
res = {};
await createRequestsMiddleware(req as OooRequestCreateRequest, res as OooRequestResponse, nextSpy);
Expand All @@ -41,7 +40,6 @@ describe("Create Request Validators", function () {
it("should throw an error for an invalid create request", async function () {
req = {
body: invalidOooStatusRequests,
query: {},
};
res = {
boom: {
Expand Down

0 comments on commit f63200c

Please sign in to comment.