aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-abuses.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-abuses.js')
-rw-r--r--server/tests/api/check-params/video-abuses.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/server/tests/api/check-params/video-abuses.js b/server/tests/api/check-params/video-abuses.js
index 061b80be8..6dc5a7090 100644
--- a/server/tests/api/check-params/video-abuses.js
+++ b/server/tests/api/check-params/video-abuses.js
@@ -61,12 +61,8 @@ describe('Test video abuses API validators', function () {
61 }, 61 },
62 // Upload some videos on each pods 62 // Upload some videos on each pods
63 function (next) { 63 function (next) {
64 const name = 'my super name for pod' 64 const videoAttributes = {}
65 const category = 2 65 videosUtils.uploadVideo(server.url, server.accessToken, videoAttributes, next)
66 const description = 'my super description for pod'
67 const tags = [ 'tag' ]
68 const file = 'video_short2.webm'
69 videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, file, next)
70 }, 66 },
71 function (next) { 67 function (next) {
72 videosUtils.getVideosList(server.url, function (err, res) { 68 videosUtils.getVideosList(server.url, function (err, res) {