Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit eb7c4f8

Browse files
committed
adding more API tests
1 parent 19aea2f commit eb7c4f8

File tree

2 files changed

+581
-4
lines changed

2 files changed

+581
-4
lines changed

config/env/test.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ module.exports = {
5050
mailer: {
5151
from: process.env.MAILER_FROM || 'MAILER_FROM',
5252
options: {
53-
service: process.env.MAILER_SERVICE_PROVIDER || 'MAILER_SERVICE_PROVIDER',
54-
auth: {
55-
user: process.env.MAILER_EMAIL_ID || 'MAILER_EMAIL_ID',
56-
pass: process.env.MAILER_PASSWORD || 'MAILER_PASSWORD'
53+
// The TLS configuration option is required for the test environment due
54+
// to testing the e-mail functionality which requires that on an
55+
// uncongifured email setup it is ok to work with unauthorized servers
56+
tls: {
57+
rejectUnauthorized: false
5758
}
5859
}
5960
},

0 commit comments

Comments
 (0)