From 191764f30b0a812bf3a9dbdc7daf1d5afe25e12a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Aug 2018 09:08:47 +0200 Subject: Improve blacklist management --- server/tests/utils/videos/video-blacklist.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tests') 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 .send({ reason }) .set('Accept', 'application/json') .set('Authorization', 'Bearer ' + token) - .expect(specialStatus)} + .expect(specialStatus) +} function removeVideoFromBlacklist (url: string, token: string, videoId: number | string, specialStatus = 204) { const path = '/api/v1/videos/' + videoId + '/blacklist' -- cgit v1.2.3