From 6e07c3de88791a0b342e0cc319590048117f9c2d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 22 Mar 2017 21:15:55 +0100 Subject: Add video category support --- server/tests/api/video-abuse.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'server/tests/api/video-abuse.js') diff --git a/server/tests/api/video-abuse.js b/server/tests/api/video-abuse.js index 0c4341860..871054788 100644 --- a/server/tests/api/video-abuse.js +++ b/server/tests/api/video-abuse.js @@ -46,17 +46,19 @@ describe('Test video abuses', function () { // Upload some videos on each pods function (next) { const name = 'my super name for pod 1' + const category = 5 const description = 'my super description for pod 1' const tags = [ 'tag' ] const file = 'video_short2.webm' - videosUtils.uploadVideo(servers[0].url, servers[0].accessToken, name, description, tags, file, next) + videosUtils.uploadVideo(servers[0].url, servers[0].accessToken, name, category, description, tags, file, next) }, function (next) { const name = 'my super name for pod 2' + const category = 5 const description = 'my super description for pod 2' const tags = [ 'tag' ] const file = 'video_short2.webm' - videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, name, description, tags, file, next) + videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, name, category, description, tags, file, next) }, // Wait videos propagation function (next) { -- cgit v1.2.3