1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Fix CI using 127.0.0.1 for tests

This commit is contained in:
Chocobozzz 2022-12-09 11:14:47 +01:00
parent c7c5f8d0f1
commit 2732eeff9e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
62 changed files with 312 additions and 322 deletions

View file

@ -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)