3 const request = require('supertest')
5 const videosBlacklistsUtils = {
9 // ---------------------- Export functions --------------------
11 function addVideoToBlacklist (url, token, videoId, specialStatus, end) {
17 const path = '/api/v1/videos/' + videoId + '/blacklist'
21 .set('Accept', 'application/json')
22 .set('Authorization', 'Bearer ' + token)
23 .expect(specialStatus)
27 // ---------------------------------------------------------------------------
29 module.exports = videosBlacklistsUtils