diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-15 15:06:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-15 15:06:14 +0200 |
commit | 5a05c14573ca3c0d16b77bef78d845f96c8c6497 (patch) | |
tree | 3576ecd3d3e88209e9e66c937a56d284c001c43b /server/tests/api/moderation | |
parent | 1a5b7dff7fa1fc8b55ed12008f7720b46671e3d3 (diff) | |
download | PeerTube-5a05c14573ca3c0d16b77bef78d845f96c8c6497.tar.gz PeerTube-5a05c14573ca3c0d16b77bef78d845f96c8c6497.tar.zst PeerTube-5a05c14573ca3c0d16b77bef78d845f96c8c6497.zip |
Force live stream termination
Diffstat (limited to 'server/tests/api/moderation')
-rw-r--r-- | server/tests/api/moderation/video-blacklist.ts | 10 |
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) |