Skip to content

Commit 15ca42a

Browse files
committed
fix: update method signature
1 parent 2203591 commit 15ca42a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/server/modules/auth/__tests__/LoginController.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ describe('LoginController', () => {
419419
const initMailer = jest.fn()
420420
const mailJobFailure = jest.fn()
421421
const mailJobSuccess = jest.fn()
422+
const mailDeactivatedMaliciousShortUrl = jest.fn()
422423
const deleteOtpByEmail = jest.fn()
423424
const setOtpForEmail = jest.fn()
424425
const getOtpForEmail = jest.fn()
@@ -435,7 +436,13 @@ describe('LoginController', () => {
435436

436437
const authService = new AuthService(
437438
{ hash, compare },
438-
{ mailOTP, initMailer, mailJobFailure, mailJobSuccess },
439+
{
440+
mailOTP,
441+
initMailer,
442+
mailJobFailure,
443+
mailJobSuccess,
444+
mailDeactivatedMaliciousShortUrl,
445+
},
439446
{ deleteOtpByEmail, setOtpForEmail, getOtpForEmail },
440447
userRepository,
441448
)

0 commit comments

Comments
 (0)