aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/video-abuse.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/video-abuse.js')
-rw-r--r--server/tests/api/video-abuse.js6
1 files changed, 4 insertions, 2 deletions
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 () {
46 // Upload some videos on each pods 46 // Upload some videos on each pods
47 function (next) { 47 function (next) {
48 const name = 'my super name for pod 1' 48 const name = 'my super name for pod 1'
49 const category = 5
49 const description = 'my super description for pod 1' 50 const description = 'my super description for pod 1'
50 const tags = [ 'tag' ] 51 const tags = [ 'tag' ]
51 const file = 'video_short2.webm' 52 const file = 'video_short2.webm'
52 videosUtils.uploadVideo(servers[0].url, servers[0].accessToken, name, description, tags, file, next) 53 videosUtils.uploadVideo(servers[0].url, servers[0].accessToken, name, category, description, tags, file, next)
53 }, 54 },
54 function (next) { 55 function (next) {
55 const name = 'my super name for pod 2' 56 const name = 'my super name for pod 2'
57 const category = 5
56 const description = 'my super description for pod 2' 58 const description = 'my super description for pod 2'
57 const tags = [ 'tag' ] 59 const tags = [ 'tag' ]
58 const file = 'video_short2.webm' 60 const file = 'video_short2.webm'
59 videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, name, description, tags, file, next) 61 videosUtils.uploadVideo(servers[1].url, servers[1].accessToken, name, category, description, tags, file, next)
60 }, 62 },
61 // Wait videos propagation 63 // Wait videos propagation
62 function (next) { 64 function (next) {