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

Commit

Permalink
adding more API tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Oct 11, 2015
1 parent 19aea2f commit eb7c4f8
Show file tree
Hide file tree
Showing 2 changed files with 581 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/env/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ module.exports = {
mailer: {
from: process.env.MAILER_FROM || 'MAILER_FROM',
options: {
service: process.env.MAILER_SERVICE_PROVIDER || 'MAILER_SERVICE_PROVIDER',
auth: {
user: process.env.MAILER_EMAIL_ID || 'MAILER_EMAIL_ID',
pass: process.env.MAILER_PASSWORD || 'MAILER_PASSWORD'
// The TLS configuration option is required for the test environment due
// to testing the e-mail functionality which requires that on an
// uncongifured email setup it is ok to work with unauthorized servers
tls: {
rejectUnauthorized: false
}
}
},
Expand Down
Loading

0 comments on commit eb7c4f8

Please sign in to comment.