Fix tests
authorChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 09:57:34 +0000 (11:57 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 13 May 2020 09:57:34 +0000 (11:57 +0200)
server/tests/api/notifications/user-notifications.ts
shared/extra-utils/server/config.ts

index dfa2234dafbb2fa4448674fc867b6c8b9ccf3eb4..04abc673825ebf7b625fdf4c3e5ad42d088af03a 100644 (file)
@@ -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
           }
         }
index 35b08477f9a83976d7ad8812d3d001670386b18a..743d10316b734639e41c2653aa150882eca2502f 100644 (file)
@@ -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
         }
       }