aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-20 11:21:08 +0100
committerChocobozzz <me@florianbigard.com>2020-11-20 11:21:08 +0100
commitde94ac86a211dec657332d964693857ec235ce40 (patch)
tree3bff96a40e7c862d83561a26249992b07331b0a2 /server/tests/api
parent3fba4b6bce69247b1d37f923894d8f44818a891c (diff)
downloadPeerTube-de94ac86a211dec657332d964693857ec235ce40.tar.gz
PeerTube-de94ac86a211dec657332d964693857ec235ce40.tar.zst
PeerTube-de94ac86a211dec657332d964693857ec235ce40.zip
Fix incorrect IDs in AP federation
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/follows-moderation.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/tests/api/server/follows-moderation.ts b/server/tests/api/server/follows-moderation.ts
index cee85cc4b..73c212a32 100644
--- a/server/tests/api/server/follows-moderation.ts
+++ b/server/tests/api/server/follows-moderation.ts
@@ -81,6 +81,8 @@ describe('Test follows moderation', function () {
81 }) 81 })
82 82
83 it('Should remove follower on server 2', async function () { 83 it('Should remove follower on server 2', async function () {
84 this.timeout(10000)
85
84 await removeFollower(servers[1].url, servers[1].accessToken, servers[0]) 86 await removeFollower(servers[1].url, servers[1].accessToken, servers[0])
85 87
86 await waitJobs(servers) 88 await waitJobs(servers)
@@ -91,6 +93,8 @@ describe('Test follows moderation', function () {
91 }) 93 })
92 94
93 it('Should disable followers on server 2', async function () { 95 it('Should disable followers on server 2', async function () {
96 this.timeout(10000)
97
94 const subConfig = { 98 const subConfig = {
95 followers: { 99 followers: {
96 instance: { 100 instance: {
@@ -109,6 +113,8 @@ describe('Test follows moderation', function () {
109 }) 113 })
110 114
111 it('Should re enable followers on server 2', async function () { 115 it('Should re enable followers on server 2', async function () {
116 this.timeout(10000)
117
112 const subConfig = { 118 const subConfig = {
113 followers: { 119 followers: {
114 instance: { 120 instance: {
@@ -151,6 +157,8 @@ describe('Test follows moderation', function () {
151 }) 157 })
152 158
153 it('Should accept a follower', async function () { 159 it('Should accept a follower', async function () {
160 this.timeout(10000)
161
154 await acceptFollower(servers[1].url, servers[1].accessToken, 'peertube@localhost:' + servers[0].port) 162 await acceptFollower(servers[1].url, servers[1].accessToken, 'peertube@localhost:' + servers[0].port)
155 await waitJobs(servers) 163 await waitJobs(servers)
156 164