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.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/server/tests/api/check-params/users.js b/server/tests/api/check-params/users.js
index f6fbcf555..b04f9f4a6 100644
--- a/server/tests/api/check-params/users.js
+++ b/server/tests/api/check-params/users.js
@@ -50,12 +50,8 @@ describe('Test users API validators', function () {
50 usersUtils.createUser(server.url, server.accessToken, username, password, next) 50 usersUtils.createUser(server.url, server.accessToken, username, password, next)
51 }, 51 },
52 function (next) { 52 function (next) {
53 const name = 'my super name for pod' 53 const videoAttributes = {}
54 const category = 5 54 videosUtils.uploadVideo(server.url, server.accessToken, videoAttributes, next)
55 const description = 'my super description for pod'
56 const tags = [ 'tag' ]
57 const file = 'video_short2.webm'
58 videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, file, next)
59 }, 55 },
60 function (next) { 56 function (next) {
61 videosUtils.getVideosList(server.url, function (err, res) { 57 videosUtils.getVideosList(server.url, function (err, res) {