Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(tests): make smtp.redirectDomain configurable in remote tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgm committed Jul 27, 2015
1 parent 3a9b0fe commit 6adc10f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/remote/account_unlock_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ TestServer.start(config)
var password = 'something'
var client = null
var options = {
redirectTo: 'https://sync.firefox.com',
redirectTo: 'https://sync.' + config.smtp.redirectDomain,
service: 'sync'
}
return Client.create(config.publicUrl, email, password, options)
Expand Down
4 changes: 2 additions & 2 deletions test/remote/password_forgot_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ TestServer.start(config)
var password = 'something'
var client = null
var options = {
redirectTo: 'https://sync.firefox.com',
redirectTo: 'https://sync.' + config.smtp.redirectDomain,
service: 'sync'
}
return Client.create(config.publicUrl, email, password, options)
Expand Down Expand Up @@ -333,7 +333,7 @@ TestServer.start(config)
function (t) {
var email = server.uniqueEmail()
var options = {
redirectTo: 'https://sync.firefox.com',
redirectTo: 'https://sync.' + config.smtp.redirectDomain,
serviceQuery: 'sync'
}
var client
Expand Down
2 changes: 1 addition & 1 deletion test/remote/recovery_email_verify_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ TestServer.start(config)
var password = 'something'
var client = null // eslint-disable-line no-unused-vars
var options = {
redirectTo: 'https://sync.firefox.com',
redirectTo: 'https://sync.' + config.smtp.redirectDomain,
service: 'sync'
}
return Client.create(config.publicUrl, email, password, options)
Expand Down

0 comments on commit 6adc10f

Please sign in to comment.