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/moderation | |
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/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 | ||