diff options
Diffstat (limited to 'server/tests/shared')
-rw-r--r-- | server/tests/shared/notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/shared/notifications.ts b/server/tests/shared/notifications.ts index ee15e2b09..e600bd6b2 100644 --- a/server/tests/shared/notifications.ts +++ b/server/tests/shared/notifications.ts | |||
@@ -371,7 +371,7 @@ async function checkNewCommentOnMyVideo (options: CheckerBaseParams & { | |||
371 | } | 371 | } |
372 | } | 372 | } |
373 | 373 | ||
374 | const commentUrl = `http://localhost:${server.port}/w/${shortUUID};threadId=${threadId}` | 374 | const commentUrl = `${server.url}/w/${shortUUID};threadId=${threadId}` |
375 | 375 | ||
376 | function emailNotificationFinder (email: object) { | 376 | function emailNotificationFinder (email: object) { |
377 | return email['text'].indexOf(commentUrl) !== -1 | 377 | return email['text'].indexOf(commentUrl) !== -1 |
@@ -674,7 +674,7 @@ async function prepareNotificationsTest (serversCount = 3, overrideConfigArg: an | |||
674 | 674 | ||
675 | const overrideConfig = { | 675 | const overrideConfig = { |
676 | smtp: { | 676 | smtp: { |
677 | hostname: 'localhost', | 677 | hostname: '127.0.0.1', |
678 | port | 678 | port |
679 | }, | 679 | }, |
680 | signup: { | 680 | signup: { |