diff options
Diffstat (limited to 'server/tests/api/notifications/notifications-api.ts')
-rw-r--r-- | server/tests/api/notifications/notifications-api.ts | 2 |
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 }) |