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.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/moderation/video-blacklist.ts b/server/tests/api/moderation/video-blacklist.ts
index 62cbf2e07..d5838191a 100644
--- a/server/tests/api/moderation/video-blacklist.ts
+++ b/server/tests/api/moderation/video-blacklist.ts
@@ -6,9 +6,9 @@ import { orderBy } from 'lodash'
6import { 6import {
7 BlacklistCommand, 7 BlacklistCommand,
8 cleanupTests, 8 cleanupTests,
9 doubleFollow,
10 createMultipleServers, 9 createMultipleServers,
11 ImportsCommand, 10 doubleFollow,
11 FIXTURE_URLS,
12 killallServers, 12 killallServers,
13 PeerTubeServer, 13 PeerTubeServer,
14 setAccessTokensToServers, 14 setAccessTokensToServers,
@@ -387,7 +387,7 @@ describe('Test video blacklist', function () {
387 this.timeout(15000) 387 this.timeout(15000)
388 388
389 const attributes = { 389 const attributes = {
390 targetUrl: ImportsCommand.getGoodVideoUrl(), 390 targetUrl: FIXTURE_URLS.goodVideo,
391 name: 'URL import', 391 name: 'URL import',
392 channelId: channelOfUserWithoutFlag 392 channelId: channelOfUserWithoutFlag
393 } 393 }
@@ -400,7 +400,7 @@ describe('Test video blacklist', function () {
400 400
401 it('Should auto blacklist a video on torrent import', async function () { 401 it('Should auto blacklist a video on torrent import', async function () {
402 const attributes = { 402 const attributes = {
403 magnetUri: ImportsCommand.getMagnetURI(), 403 magnetUri: FIXTURE_URLS.magnet,
404 name: 'Torrent import', 404 name: 'Torrent import',
405 channelId: channelOfUserWithoutFlag 405 channelId: channelOfUserWithoutFlag
406 } 406 }