From 2732eeff9e6994582293b5aaa0cb158b7e272e9e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 9 Dec 2022 11:14:47 +0100 Subject: Fix CI using 127.0.0.1 for tests --- server/tests/api/notifications/comments-notifications.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/notifications/comments-notifications.ts') diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.ts index 8b8c5712a..5a50af040 100644 --- a/server/tests/api/notifications/comments-notifications.ts +++ b/server/tests/api/notifications/comments-notifications.ts @@ -257,7 +257,7 @@ describe('Test comments notifications', function () { await waitJobs(servers) - const text1 = `hello @user_1@localhost:${servers[0].port} 1` + const text1 = `hello @user_1@${servers[0].host} 1` const { id: server2ThreadId } = await servers[1].comments.createThread({ videoId: uuid, text: text1 }) await waitJobs(servers) @@ -269,7 +269,7 @@ describe('Test comments notifications', function () { const threadId = data[0].id await checkCommentMention({ ...baseParams, shortUUID, commentId: threadId, threadId, byAccountDisplayName, checkType: 'presence' }) - const text2 = `@user_1@localhost:${servers[0].port} hello 2 @root@localhost:${servers[0].port}` + const text2 = `@user_1@${servers[0].host} hello 2 @root@${servers[0].host}` await servers[1].comments.addReply({ videoId: uuid, toCommentId: server2ThreadId, text: text2 }) await waitJobs(servers) -- cgit v1.2.3