aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-13 11:57:34 +0200
committerChocobozzz <me@florianbigard.com>2020-05-13 11:57:34 +0200
commita06581f2968dc0d21570cc53ff94de96ede70a54 (patch)
tree0ab186ad579fde0f8be0d8b8382f9039634a356d
parent6676056a316a09557b8445cf6c0583ff8c588339 (diff)
downloadPeerTube-a06581f2968dc0d21570cc53ff94de96ede70a54.tar.gz
PeerTube-a06581f2968dc0d21570cc53ff94de96ede70a54.tar.zst
PeerTube-a06581f2968dc0d21570cc53ff94de96ede70a54.zip
Fix tests
-rw-r--r--server/tests/api/notifications/user-notifications.ts2
-rw-r--r--shared/extra-utils/server/config.ts2
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 () {
884 followings: { 884 followings: {
885 instance: { 885 instance: {
886 autoFollowIndex: { 886 autoFollowIndex: {
887 indexUrl: 'http://localhost:42100', 887 indexUrl: 'http://localhost:42101/api/v1/instances/hosts',
888 enabled: true 888 enabled: true
889 } 889 }
890 } 890 }
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
155 enabled: false 155 enabled: false
156 }, 156 },
157 autoFollowIndex: { 157 autoFollowIndex: {
158 indexUrl: 'https://instances.joinpeertube.org', 158 indexUrl: 'https://instances.joinpeertube.org/api/v1/instances/hosts',
159 enabled: false 159 enabled: false
160 } 160 }
161 } 161 }