]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/notifications/notifications-api.ts
Fix CI
[github/Chocobozzz/PeerTube.git] / server / tests / api / notifications / notifications-api.ts
index f194656c9f8b1eb684812e5f7b53489dd486b340..1fc86116047eabdad1606a9912886e2bbd9743b7 100644 (file)
@@ -26,7 +26,7 @@ describe('Test notifications API', function () {
     userNotifications = res.userNotifications
     server = res.servers[0]
 
-    await server.subscriptions.add({ token: userToken, targetUri: 'root_channel@localhost:' + server.port })
+    await server.subscriptions.add({ token: userToken, targetUri: 'root_channel@' + server.host })
 
     for (let i = 0; i < 10; i++) {
       await server.videos.randomUpload({ wait: false })