aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/moderation
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/moderation')
-rw-r--r--server/tests/api/moderation/video-blacklist.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/server/tests/api/moderation/video-blacklist.ts b/server/tests/api/moderation/video-blacklist.ts
index ad132aa39..ef087a93b 100644
--- a/server/tests/api/moderation/video-blacklist.ts
+++ b/server/tests/api/moderation/video-blacklist.ts
@@ -239,8 +239,6 @@ describe('Test video blacklist', function () {
239 let video4UUID: string 239 let video4UUID: string
240 240
241 before(async function () { 241 before(async function () {
242 this.timeout(10000)
243
244 { 242 {
245 const { uuid } = await servers[0].videos.upload({ attributes: { name: 'Video 3' } }) 243 const { uuid } = await servers[0].videos.upload({ attributes: { name: 'Video 3' } })
246 video3UUID = uuid 244 video3UUID = uuid
@@ -254,8 +252,6 @@ describe('Test video blacklist', function () {
254 }) 252 })
255 253
256 it('Should blacklist video 3 and keep it federated', async function () { 254 it('Should blacklist video 3 and keep it federated', async function () {
257 this.timeout(10000)
258
259 await command.add({ videoId: video3UUID, reason: 'super reason', unfederate: false }) 255 await command.add({ videoId: video3UUID, reason: 'super reason', unfederate: false })
260 256
261 await waitJobs(servers) 257 await waitJobs(servers)
@@ -272,8 +268,6 @@ describe('Test video blacklist', function () {
272 }) 268 })
273 269
274 it('Should unfederate the video', async function () { 270 it('Should unfederate the video', async function () {
275 this.timeout(10000)
276
277 await command.add({ videoId: video4UUID, reason: 'super reason', unfederate: true }) 271 await command.add({ videoId: video4UUID, reason: 'super reason', unfederate: true })
278 272
279 await waitJobs(servers) 273 await waitJobs(servers)
@@ -285,8 +279,6 @@ describe('Test video blacklist', function () {
285 }) 279 })
286 280
287 it('Should have the video unfederated even after an Update AP message', async function () { 281 it('Should have the video unfederated even after an Update AP message', async function () {
288 this.timeout(10000)
289
290 await servers[0].videos.update({ id: video4UUID, attributes: { description: 'super description' } }) 282 await servers[0].videos.update({ id: video4UUID, attributes: { description: 'super description' } })
291 283
292 await waitJobs(servers) 284 await waitJobs(servers)
@@ -309,8 +301,6 @@ describe('Test video blacklist', function () {
309 }) 301 })
310 302
311 it('Should remove the video from blacklist and refederate the video', async function () { 303 it('Should remove the video from blacklist and refederate the video', async function () {
312 this.timeout(10000)
313
314 await command.remove({ videoId: video4UUID }) 304 await command.remove({ videoId: video4UUID })
315 305
316 await waitJobs(servers) 306 await waitJobs(servers)