import {
BlacklistCommand,
cleanupTests,
- doubleFollow,
createMultipleServers,
- ImportsCommand,
+ doubleFollow,
+ FIXTURE_URLS,
killallServers,
PeerTubeServer,
setAccessTokensToServers,
this.timeout(15000)
const attributes = {
- targetUrl: ImportsCommand.getGoodVideoUrl(),
+ targetUrl: FIXTURE_URLS.goodVideo,
name: 'URL import',
channelId: channelOfUserWithoutFlag
}
it('Should auto blacklist a video on torrent import', async function () {
const attributes = {
- magnetUri: ImportsCommand.getMagnetURI(),
+ magnetUri: FIXTURE_URLS.magnet,
name: 'Torrent import',
channelId: channelOfUserWithoutFlag
}