diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/utils/videos/video-blacklist.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/utils/videos/video-blacklist.ts b/server/tests/utils/videos/video-blacklist.ts index 7819f4b25..2c176fde0 100644 --- a/server/tests/utils/videos/video-blacklist.ts +++ b/server/tests/utils/videos/video-blacklist.ts | |||
@@ -19,7 +19,8 @@ function updateVideoBlacklist (url: string, token: string, videoId: number, reas | |||
19 | .send({ reason }) | 19 | .send({ reason }) |
20 | .set('Accept', 'application/json') | 20 | .set('Accept', 'application/json') |
21 | .set('Authorization', 'Bearer ' + token) | 21 | .set('Authorization', 'Bearer ' + token) |
22 | .expect(specialStatus)} | 22 | .expect(specialStatus) |
23 | } | ||
23 | 24 | ||
24 | function removeVideoFromBlacklist (url: string, token: string, videoId: number | string, specialStatus = 204) { | 25 | function removeVideoFromBlacklist (url: string, token: string, videoId: number | string, specialStatus = 204) { |
25 | const path = '/api/v1/videos/' + videoId + '/blacklist' | 26 | const path = '/api/v1/videos/' + videoId + '/blacklist' |