From a06581f2968dc0d21570cc53ff94de96ede70a54 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 May 2020 11:57:34 +0200 Subject: [PATCH] Fix tests --- server/tests/api/notifications/user-notifications.ts | 2 +- shared/extra-utils/server/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index dfa2234da..04abc6738 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -884,7 +884,7 @@ describe('Test users notifications', function () { followings: { instance: { autoFollowIndex: { - indexUrl: 'http://localhost:42100', + indexUrl: 'http://localhost:42101/api/v1/instances/hosts', enabled: true } } diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index 35b08477f..743d10316 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts @@ -155,7 +155,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti enabled: false }, autoFollowIndex: { - indexUrl: 'https://instances.joinpeertube.org', + indexUrl: 'https://instances.joinpeertube.org/api/v1/instances/hosts', enabled: false } } -- 2.41.0