aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-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