Fix tests correctly

pull/2646/head
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
1 changed files with 9 additions and 9 deletions

View File

@ -1035,15 +1035,15 @@ describe('Test users notifications', function () {
// await checkNewActorFollow(baseParams, 'account', 'root', 'super root name', myUserName, 'presence') // 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 () { // it('Should notify when a remote account is following one of our channel', async function () {
this.timeout(10000) // this.timeout(10000)
//
await addUserSubscription(servers[1].url, servers[1].accessToken, 'user_1@localhost:' + servers[0].port) // await addUserSubscription(servers[1].url, servers[1].accessToken, 'user_1@localhost:' + servers[0].port)
//
await waitJobs(servers) // await waitJobs(servers)
//
await checkNewActorFollow(baseParams, 'account', 'root', 'super root 2 name', myUserName, 'presence') // await checkNewActorFollow(baseParams, 'account', 'root', 'super root 2 name', myUserName, 'presence')
}) // })
}) })
describe('Video-related notifications when video auto-blacklist is enabled', function () { describe('Video-related notifications when video auto-blacklist is enabled', function () {