diff options
Diffstat (limited to 'server/tests/api/moderation')
-rw-r--r-- | server/tests/api/moderation/blocklist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/moderation/blocklist.ts b/server/tests/api/moderation/blocklist.ts index 8ed5ad9e5..089af8b15 100644 --- a/server/tests/api/moderation/blocklist.ts +++ b/server/tests/api/moderation/blocklist.ts | |||
@@ -690,7 +690,7 @@ describe('Test blocklist', function () { | |||
690 | const now = new Date() | 690 | const now = new Date() |
691 | await servers[1].follows.unfollow({ target: servers[0] }) | 691 | await servers[1].follows.unfollow({ target: servers[0] }) |
692 | await waitJobs(servers) | 692 | await waitJobs(servers) |
693 | await servers[1].follows.follow({ targets: [ servers[0].host ] }) | 693 | await servers[1].follows.follow({ hosts: [ servers[0].host ] }) |
694 | 694 | ||
695 | await waitJobs(servers) | 695 | await waitJobs(servers) |
696 | 696 | ||
@@ -751,7 +751,7 @@ describe('Test blocklist', function () { | |||
751 | const now = new Date() | 751 | const now = new Date() |
752 | await servers[1].follows.unfollow({ target: servers[0] }) | 752 | await servers[1].follows.unfollow({ target: servers[0] }) |
753 | await waitJobs(servers) | 753 | await waitJobs(servers) |
754 | await servers[1].follows.follow({ targets: [ servers[0].host ] }) | 754 | await servers[1].follows.follow({ hosts: [ servers[0].host ] }) |
755 | 755 | ||
756 | await waitJobs(servers) | 756 | await waitJobs(servers) |
757 | 757 | ||