diff options
Diffstat (limited to 'server/tests/api/notifications/moderation-notifications.ts')
-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 | ||