diff --git a/test/unit/middlewares/skipAuthenticateForOnboardingExtension.test.ts b/test/unit/middlewares/skipAuthenticateForOnboardingExtension.test.ts index 83d4526d5..b613fc3c6 100644 --- a/test/unit/middlewares/skipAuthenticateForOnboardingExtension.test.ts +++ b/test/unit/middlewares/skipAuthenticateForOnboardingExtension.test.ts @@ -7,9 +7,9 @@ describe("skipAuthenticateForOnboardingExtensionRequest Middleware", () => { let req, res, next, authenticate: sinon.SinonSpy, verifyDiscordBot: sinon.SinonSpy; let middleware; beforeEach(() => { - middleware = skipAuthenticateForOnboardingExtensionRequest(authenticate, verifyDiscordBot); authenticate = sinon.spy(); verifyDiscordBot = sinon.spy(); + middleware = skipAuthenticateForOnboardingExtensionRequest(authenticate, verifyDiscordBot); req = { body:{}, query:{},