Skip to content

Commit 9e305e4

Browse files
committed
fix password tests
1 parent 06638bf commit 9e305e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/password/__tests__/accounts-password.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ describe('AccountsPassword', () => {
332332
password.setStore({ findUserByEmail, addEmailVerificationToken } as any);
333333
password.server = {
334334
prepareMail,
335-
email: { sendMail },
335+
options: { sendMail },
336336
sanitizeUser,
337337
} as any;
338338
set(password.server, 'options.emailTemplates', {});
@@ -351,7 +351,7 @@ describe('AccountsPassword', () => {
351351
password.setStore({ findUserByEmail, addEmailVerificationToken } as any);
352352
password.server = {
353353
prepareMail,
354-
email: { sendMail },
354+
options: { sendMail },
355355
sanitizeUser,
356356
} as any;
357357
set(password.server, 'options.emailTemplates', {});
@@ -396,7 +396,7 @@ describe('AccountsPassword', () => {
396396
password.setStore({ findUserByEmail, addResetPasswordToken } as any);
397397
password.server = {
398398
prepareMail,
399-
email: { sendMail },
399+
options: { sendMail },
400400
sanitizeUser,
401401
getFirstUserEmail,
402402
} as any;
@@ -433,7 +433,7 @@ describe('AccountsPassword', () => {
433433
password.setStore({ findUserByEmail, addResetPasswordToken } as any);
434434
password.server = {
435435
prepareMail,
436-
email: { sendMail },
436+
options: { sendMail },
437437
sanitizeUser,
438438
getFirstUserEmail,
439439
} as any;

0 commit comments

Comments
 (0)