diff --git a/test/unit/middlewares/requests.test.ts b/test/unit/middlewares/requests.test.ts index f10eea23e..08d5972aa 100644 --- a/test/unit/middlewares/requests.test.ts +++ b/test/unit/middlewares/requests.test.ts @@ -92,9 +92,7 @@ describe("Create Request Validators", function () { describe("Get Request Validator", function () { it("Should pass validation for a valid get request", async function () { - req = { - query: {}, - }; + req = {}; res = {}; await getRequestsMiddleware(req as any, res as any, nextSpy); expect(nextSpy.calledOnce).to.equal(true);