X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fnotifications%2Fcomments-notifications.ts;h=5a50af0402d1ce72406f6a2f2565f18ed9f838b2;hb=9b6c9b5ae64cce9d9b3cd1bed8546f4f1725cb79;hp=8b8c5712ae2771af4d6ee334d83d71db18fb1ad4;hpb=190ac9df7c95cdae5294596764afae7ce78d108d;p=github%2FChocobozzz%2FPeerTube.git 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)