aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/users.js
diff options
context:
space:
mode:
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) {