diff --git a/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts b/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts index 4fb13a283..21b04c090 100644 --- a/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts +++ b/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts @@ -17,7 +17,7 @@ describe("test register handler", function () { let authSession: AuthenticationSession.AuthenticationSession; beforeEach(function () { - req = ExpressMock.RequestMock; + req = ExpressMock.RequestMock(); req.app = {}; const mocks = ServerVariablesMock.mock(req.app); mocks.logger = winston;