From 7ff54759cdb4b5e47c6e8c4a08c00bd5c03431ac Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 30 Jul 2023 17:45:11 +0200 Subject: [PATCH] Fixing tests --- test/backend/unit/middlewares/admin/SettingsMWs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/backend/unit/middlewares/admin/SettingsMWs.ts b/test/backend/unit/middlewares/admin/SettingsMWs.ts index d0dbc658..95848a41 100644 --- a/test/backend/unit/middlewares/admin/SettingsMWs.ts +++ b/test/backend/unit/middlewares/admin/SettingsMWs.ts @@ -25,7 +25,7 @@ describe('Settings middleware', () => { ServerEnvironment.sendMailAvailable = false; Config.Environment.sendMailAvailable = false; - Config.Messaging.Email.type = EmailMessagingType.sendmail; + Config.Messaging.Email.type = EmailMessagingType.SMTP; const req: any = { session: {}, sessionOptions: {}, @@ -56,7 +56,7 @@ describe('Settings middleware', () => { ServerEnvironment.sendMailAvailable = false; Config.Environment.sendMailAvailable = false; - Config.Messaging.Email.type = EmailMessagingType.sendmail; + Config.Messaging.Email.type = EmailMessagingType.SMTP; const req: any = { session: {}, sessionOptions: {},