aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-channels.ts')
-rw-r--r--server/tests/api/videos/video-channels.ts6
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