aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/users.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/users.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/users.js')
-rw-r--r--server/tests/api/check-params/users.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/check-params/users.js b/server/tests/api/check-params/users.js
index 11e2bada4..f6fbcf555 100644
--- a/server/tests/api/check-params/users.js
+++ b/server/tests/api/check-params/users.js
@@ -51,10 +51,11 @@ describe('Test users API validators', function () {
51 }, 51 },
52 function (next) { 52 function (next) {
53 const name = 'my super name for pod' 53 const name = 'my super name for pod'
54 const category = 5
54 const description = 'my super description for pod' 55 const description = 'my super description for pod'
55 const tags = [ 'tag' ] 56 const tags = [ 'tag' ]
56 const file = 'video_short2.webm' 57 const file = 'video_short2.webm'
57 videosUtils.uploadVideo(server.url, server.accessToken, name, description, tags, file, next) 58 videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, file, next)
58 }, 59 },
59 function (next) { 60 function (next) {
60 videosUtils.getVideosList(server.url, function (err, res) { 61 videosUtils.getVideosList(server.url, function (err, res) {