aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/comments-notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-12-09 11:14:47 +0100
committerChocobozzz <me@florianbigard.com>2022-12-12 13:36:23 +0100
commit2732eeff9e6994582293b5aaa0cb158b7e272e9e (patch)
tree417d30cf470cd1db84e06c5dbd1b5429d4b99bc1 /server/tests/api/notifications/comments-notifications.ts
parentc7c5f8d0f17b0ab598fbe237f11639c6de28110c (diff)
downloadPeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.gz
PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.zst
PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.zip
Fix CI using 127.0.0.1 for tests
Diffstat (limited to 'server/tests/api/notifications/comments-notifications.ts')
-rw-r--r--server/tests/api/notifications/comments-notifications.ts4
1 files changed, 2 insertions, 2 deletions
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 () {
257 257
258 await waitJobs(servers) 258 await waitJobs(servers)
259 259
260 const text1 = `hello @user_1@localhost:${servers[0].port} 1` 260 const text1 = `hello @user_1@${servers[0].host} 1`
261 const { id: server2ThreadId } = await servers[1].comments.createThread({ videoId: uuid, text: text1 }) 261 const { id: server2ThreadId } = await servers[1].comments.createThread({ videoId: uuid, text: text1 })
262 262
263 await waitJobs(servers) 263 await waitJobs(servers)
@@ -269,7 +269,7 @@ describe('Test comments notifications', function () {
269 const threadId = data[0].id 269 const threadId = data[0].id
270 await checkCommentMention({ ...baseParams, shortUUID, commentId: threadId, threadId, byAccountDisplayName, checkType: 'presence' }) 270 await checkCommentMention({ ...baseParams, shortUUID, commentId: threadId, threadId, byAccountDisplayName, checkType: 'presence' })
271 271
272 const text2 = `@user_1@localhost:${servers[0].port} hello 2 @root@localhost:${servers[0].port}` 272 const text2 = `@user_1@${servers[0].host} hello 2 @root@${servers[0].host}`
273 await servers[1].comments.addReply({ videoId: uuid, toCommentId: server2ThreadId, text: text2 }) 273 await servers[1].comments.addReply({ videoId: uuid, toCommentId: server2ThreadId, text: text2 })
274 274
275 await waitJobs(servers) 275 await waitJobs(servers)