aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/friends-advanced.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/friends-advanced.js')
-rw-r--r--server/tests/api/friends-advanced.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/friends-advanced.js b/server/tests/api/friends-advanced.js
index 15ca1a37c..584c38c24 100644
--- a/server/tests/api/friends-advanced.js
+++ b/server/tests/api/friends-advanced.js
@@ -32,12 +32,13 @@ describe('Test advanced friends', function () {
32 32
33 function uploadVideo (podNumber, callback) { 33 function uploadVideo (podNumber, callback) {
34 const name = 'my super video' 34 const name = 'my super video'
35 const category = 5
35 const description = 'my super description' 36 const description = 'my super description'
36 const tags = [ 'tag1', 'tag2' ] 37 const tags = [ 'tag1', 'tag2' ]
37 const fixture = 'video_short.webm' 38 const fixture = 'video_short.webm'
38 const server = servers[podNumber - 1] 39 const server = servers[podNumber - 1]
39 40
40 return videosUtils.uploadVideo(server.url, server.accessToken, name, description, tags, fixture, callback) 41 return videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, fixture, callback)
41 } 42 }
42 43
43 function getVideos (podNumber, callback) { 44 function getVideos (podNumber, callback) {