followings: {
instance: {
autoFollowIndex: {
- indexUrl: 'http://localhost:42100',
+ indexUrl: 'http://localhost:42101/api/v1/instances/hosts',
enabled: true
}
}
await removeUserSubscription(servers[1].url, servers[1].accessToken, 'user_1_channel@localhost:' + servers[0].port)
})
- it('Should notify when a local account is following one of our channel', async function () {
- this.timeout(10000)
-
- await addUserSubscription(servers[0].url, servers[0].accessToken, 'user_1@localhost:' + servers[0].port)
-
- await waitJobs(servers)
-
- await checkNewActorFollow(baseParams, 'account', 'root', 'super root name', myUserName, 'presence')
- })
-
- it('Should notify when a remote account is following one of our channel', async function () {
- this.timeout(10000)
-
- await addUserSubscription(servers[1].url, servers[1].accessToken, 'user_1@localhost:' + servers[0].port)
-
- await waitJobs(servers)
-
- await checkNewActorFollow(baseParams, 'account', 'root', 'super root 2 name', myUserName, 'presence')
- })
+ // PeerTube does not support accout -> account follows
+ // it('Should notify when a local account is following one of our channel', async function () {
+ // this.timeout(10000)
+ //
+ // await addUserSubscription(servers[0].url, servers[0].accessToken, 'user_1@localhost:' + servers[0].port)
+ //
+ // await waitJobs(servers)
+ //
+ // await checkNewActorFollow(baseParams, 'account', 'root', 'super root name', myUserName, 'presence')
+ // })
+
+ // it('Should notify when a remote account is following one of our channel', async function () {
+ // this.timeout(10000)
+ //
+ // await addUserSubscription(servers[1].url, servers[1].accessToken, 'user_1@localhost:' + servers[0].port)
+ //
+ // await waitJobs(servers)
+ //
+ // await checkNewActorFollow(baseParams, 'account', 'root', 'super root 2 name', myUserName, 'presence')
+ // })
})
describe('Video-related notifications when video auto-blacklist is enabled', function () {