mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Fixing tests
This commit is contained in:
parent
b8f9dbe55f
commit
7ff54759cd
@ -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: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user