diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-19 17:08:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-19 17:08:18 +0100 |
commit | d175a6f7ab9dd53e36f9f52769ac02dbfdc57e3e (patch) | |
tree | 1c313c3a3e0680101516dea3a787cd307006c76d /server/tests/utils/videos/video-abuses.ts | |
parent | 0b2f03d3712f438f67eccf86b67acd047284f9b4 (diff) | |
download | PeerTube-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.ts | 2 |
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 @@ | |||
1 | import * as request from 'supertest' | 1 | import * as request from 'supertest' |
2 | import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model' | 2 | import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model' |
3 | import { makeDeleteRequest, makePutBodyRequest } from '..' | 3 | import { makeDeleteRequest, makePutBodyRequest } from '../requests/requests' |
4 | 4 | ||
5 | function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) { | 5 | function 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' |