Detox/E2E: Minor fix to email (#5676)
This commit is contained in:
parent
dc076713e6
commit
ccba75c8cd
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
module.exports = {
|
||||
serverUrl: process.env.SITE_URL || (process.env.IOS ? 'http://localhost:8065' : 'http://10.0.2.2:8065'),
|
||||
siteUrl: process.env.SITE_URL || 'http://localhost:8065',
|
||||
smtpUrl: process.env.SMTP_URL || 'http://localhost:10080',
|
||||
smtpUrl: process.env.SMTP_URL || 'http://localhost:9001',
|
||||
adminEmail: process.env.ADMIN_EMAIL || 'sysadmin@sample.mattermost.com',
|
||||
adminUsername: process.env.ADMIN_USERNAME || 'sysadmin',
|
||||
adminPassword: process.env.ADMIN_PASSWORD || 'Sys@dmin-sample1',
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import testConfig from '@support/test_config';
|
|||
* @returns {string} email url
|
||||
*/
|
||||
export const getEmailUrl = () => {
|
||||
const smtpUrl = testConfig.smtpUrl || 'http://localhost:10080';
|
||||
const smtpUrl = testConfig.smtpUrl || 'http://localhost:9001';
|
||||
|
||||
return `${smtpUrl}/api/v1/mailbox`;
|
||||
};
|
||||
|
|
@ -82,6 +82,7 @@ export const getMentionEmailTemplate = (sender, message, postId, siteName, teamN
|
|||
'<skip-local-time-check>',
|
||||
'',
|
||||
channelDisplayName,
|
||||
'',
|
||||
message,
|
||||
'',
|
||||
'Want to change your notifications settings?',
|
||||
|
|
|
|||
Loading…
Reference in a new issue