diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-20 14:15:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-21 13:35:31 +0200 |
commit | 4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef (patch) | |
tree | 20bcdd660ab4eb731814db3a4a40fffb48ce7482 /server/tests/api/notifications | |
parent | 7f28f2ddbaeecf451d501e99ded0408c14a33600 (diff) | |
download | PeerTube-4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef.tar.gz PeerTube-4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef.tar.zst PeerTube-4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef.zip |
Add ability for instances to follow any actor
Diffstat (limited to 'server/tests/api/notifications')
-rw-r--r-- | server/tests/api/notifications/moderation-notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index 6e8f8a2b4..6f74709b3 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts | |||
@@ -368,7 +368,7 @@ describe('Test moderation notifications', function () { | |||
368 | it('Should send a notification only to admin when there is a new instance follower', async function () { | 368 | it('Should send a notification only to admin when there is a new instance follower', async function () { |
369 | this.timeout(20000) | 369 | this.timeout(20000) |
370 | 370 | ||
371 | await servers[2].follows.follow({ targets: [ servers[0].url ] }) | 371 | await servers[2].follows.follow({ hosts: [ servers[0].url ] }) |
372 | 372 | ||
373 | await waitJobs(servers) | 373 | await waitJobs(servers) |
374 | 374 | ||
@@ -393,7 +393,7 @@ describe('Test moderation notifications', function () { | |||
393 | } | 393 | } |
394 | await servers[0].config.updateCustomSubConfig({ newConfig: config }) | 394 | await servers[0].config.updateCustomSubConfig({ newConfig: config }) |
395 | 395 | ||
396 | await servers[2].follows.follow({ targets: [ servers[0].url ] }) | 396 | await servers[2].follows.follow({ hosts: [ servers[0].url ] }) |
397 | 397 | ||
398 | await waitJobs(servers) | 398 | await waitJobs(servers) |
399 | 399 | ||