1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Fixing tests

This commit is contained in:
Patrik J. Braun 2023-07-30 17:45:11 +02:00
parent b8f9dbe55f
commit 7ff54759cd

View File

@ -25,7 +25,7 @@ describe('Settings middleware', () => {
ServerEnvironment.sendMailAvailable = false; ServerEnvironment.sendMailAvailable = false;
Config.Environment.sendMailAvailable = false; Config.Environment.sendMailAvailable = false;
Config.Messaging.Email.type = EmailMessagingType.sendmail; Config.Messaging.Email.type = EmailMessagingType.SMTP;
const req: any = { const req: any = {
session: {}, session: {},
sessionOptions: {}, sessionOptions: {},
@ -56,7 +56,7 @@ describe('Settings middleware', () => {
ServerEnvironment.sendMailAvailable = false; ServerEnvironment.sendMailAvailable = false;
Config.Environment.sendMailAvailable = false; Config.Environment.sendMailAvailable = false;
Config.Messaging.Email.type = EmailMessagingType.sendmail; Config.Messaging.Email.type = EmailMessagingType.SMTP;
const req: any = { const req: any = {
session: {}, session: {},
sessionOptions: {}, sessionOptions: {},