aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-abuses.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-22 21:15:55 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-22 21:25:24 +0100
commit6e07c3de88791a0b342e0cc319590048117f9c2d (patch)
tree049f88d3f6d3ec0aeea09702a583deb86d6ef78f /server/tests/api/check-params/video-abuses.js
parent2d7653dc8726185615bab66353c4e3fb8fbb5a5f (diff)
downloadPeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.gz
PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.zst
PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.zip
Add video category support
Diffstat (limited to 'server/tests/api/check-params/video-abuses.js')
-rw-r--r--server/tests/api/check-params/video-abuses.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/check-params/video-abuses.js b/server/tests/api/check-params/video-abuses.js
index 7308637e2..061b80be8 100644
--- a/server/tests/api/check-params/video-abuses.js
+++ b/server/tests/api/check-params/video-abuses.js
@@ -62,10 +62,11 @@ describe('Test video abuses API validators', function () {
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 name = 'my super name for pod'
65 const category = 2
65 const description = 'my super description for pod' 66 const description = 'my super description for pod'
66 const tags = [ 'tag' ] 67 const tags = [ 'tag' ]
67 const file = 'video_short2.webm' 68 const file = 'video_short2.webm'
68 videosUtils.uploadVideo(server.url, server.accessToken, name, description, tags, file, next) 69 videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, file, next)
69 }, 70 },
70 function (next) { 71 function (next) {
71 videosUtils.getVideosList(server.url, function (err, res) { 72 videosUtils.getVideosList(server.url, function (err, res) {