aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/videos/video-abuses.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-11-19 17:08:18 +0100
committerChocobozzz <me@florianbigard.com>2018-11-19 17:08:18 +0100
commitd175a6f7ab9dd53e36f9f52769ac02dbfdc57e3e (patch)
tree1c313c3a3e0680101516dea3a787cd307006c76d /server/tests/utils/videos/video-abuses.ts
parent0b2f03d3712f438f67eccf86b67acd047284f9b4 (diff)
downloadPeerTube-d175a6f7ab9dd53e36f9f52769ac02dbfdc57e3e.tar.gz
PeerTube-d175a6f7ab9dd53e36f9f52769ac02dbfdc57e3e.tar.zst
PeerTube-d175a6f7ab9dd53e36f9f52769ac02dbfdc57e3e.zip
Cleanup tests imports
Diffstat (limited to 'server/tests/utils/videos/video-abuses.ts')
-rw-r--r--server/tests/utils/videos/video-abuses.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/video-abuses.ts b/server/tests/utils/videos/video-abuses.ts
index 14907e6a0..4ad82ad8c 100644
--- a/server/tests/utils/videos/video-abuses.ts
+++ b/server/tests/utils/videos/video-abuses.ts
@@ -1,6 +1,6 @@
1import * as request from 'supertest' 1import * as request from 'supertest'
2import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model' 2import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model'
3import { makeDeleteRequest, makePutBodyRequest } from '..' 3import { makeDeleteRequest, makePutBodyRequest } from '../requests/requests'
4 4
5function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) { 5function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) {
6 const path = '/api/v1/videos/' + videoId + '/abuse' 6 const path = '/api/v1/videos/' + videoId + '/abuse'