Turned off sendwithus API during testing.
This commit is contained in:
parent
c382889748
commit
ff73aecf08
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ module.exports.setupRoutes = (app) ->
|
||||||
|
|
||||||
debug = not config.isProduction
|
debug = not config.isProduction
|
||||||
module.exports.api = new sendwithusAPI swuAPIKey, debug
|
module.exports.api = new sendwithusAPI swuAPIKey, debug
|
||||||
|
if config.unittest
|
||||||
|
module.exports.api.send = ->
|
||||||
module.exports.templates =
|
module.exports.templates =
|
||||||
welcome_email: 'utnGaBHuSU4Hmsi7qrAypU'
|
welcome_email: 'utnGaBHuSU4Hmsi7qrAypU'
|
||||||
ladder_update_email: 'JzaZxf39A4cKMxpPZUfWy4'
|
ladder_update_email: 'JzaZxf39A4cKMxpPZUfWy4'
|
||||||
|
|
Reference in a new issue