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/api/videos/video-channels.ts | |
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/api/videos/video-channels.ts')
-rw-r--r-- | server/tests/api/videos/video-channels.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts index 86a8a038c..64bd4d9ae 100644 --- a/server/tests/api/videos/video-channels.ts +++ b/server/tests/api/videos/video-channels.ts | |||
@@ -373,7 +373,7 @@ describe('Test video channels', function () { | |||
373 | this.timeout(10000) | 373 | this.timeout(10000) |
374 | 374 | ||
375 | for (const server of servers) { | 375 | for (const server of servers) { |
376 | const channelURI = 'second_video_channel@localhost:' + servers[0].port | 376 | const channelURI = 'second_video_channel@' + servers[0].host |
377 | const { total, data } = await server.videos.listByChannel({ handle: channelURI }) | 377 | const { total, data } = await server.videos.listByChannel({ handle: channelURI }) |
378 | 378 | ||
379 | expect(total).to.equal(1) | 379 | expect(total).to.equal(1) |
@@ -396,13 +396,13 @@ describe('Test video channels', function () { | |||
396 | 396 | ||
397 | for (const server of servers) { | 397 | for (const server of servers) { |
398 | { | 398 | { |
399 | const secondChannelURI = 'second_video_channel@localhost:' + servers[0].port | 399 | const secondChannelURI = 'second_video_channel@' + servers[0].host |
400 | const { total } = await server.videos.listByChannel({ handle: secondChannelURI }) | 400 | const { total } = await server.videos.listByChannel({ handle: secondChannelURI }) |
401 | expect(total).to.equal(0) | 401 | expect(total).to.equal(0) |
402 | } | 402 | } |
403 | 403 | ||
404 | { | 404 | { |
405 | const channelURI = 'root_channel@localhost:' + servers[0].port | 405 | const channelURI = 'root_channel@' + servers[0].host |
406 | const { total, data } = await server.videos.listByChannel({ handle: channelURI }) | 406 | const { total, data } = await server.videos.listByChannel({ handle: channelURI }) |
407 | expect(total).to.equal(1) | 407 | expect(total).to.equal(1) |
408 | 408 | ||