aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/notifications-api.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/notifications-api.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/notifications-api.ts')
-rw-r--r--server/tests/api/notifications/notifications-api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/notifications/notifications-api.ts b/server/tests/api/notifications/notifications-api.ts
index f194656c9..1fc861160 100644
--- a/server/tests/api/notifications/notifications-api.ts
+++ b/server/tests/api/notifications/notifications-api.ts
@@ -26,7 +26,7 @@ describe('Test notifications API', function () {
26 userNotifications = res.userNotifications 26 userNotifications = res.userNotifications
27 server = res.servers[0] 27 server = res.servers[0]
28 28
29 await server.subscriptions.add({ token: userToken, targetUri: 'root_channel@localhost:' + server.port }) 29 await server.subscriptions.add({ token: userToken, targetUri: 'root_channel@' + server.host })
30 30
31 for (let i = 0; i < 10; i++) { 31 for (let i = 0; i < 10; i++) {
32 await server.videos.randomUpload({ wait: false }) 32 await server.videos.randomUpload({ wait: false })