1
0
Fork 0

Fix tests correctly

This commit is contained in:
Chocobozzz 2020-04-20 09:35:43 +02:00
parent 0dd57e4d43
commit 6ed2e4eaf3
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -1035,15 +1035,15 @@ describe('Test users notifications', function () {
// 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')
})
// 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 () {