diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-09 11:14:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-12 13:36:23 +0100 |
commit | 2732eeff9e6994582293b5aaa0cb158b7e272e9e (patch) | |
tree | 417d30cf470cd1db84e06c5dbd1b5429d4b99bc1 /server/tests/shared | |
parent | c7c5f8d0f17b0ab598fbe237f11639c6de28110c (diff) | |
download | PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.gz PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.zst PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.zip |
Fix CI using 127.0.0.1 for tests
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: { |