aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/requests.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/requests.js')
-rw-r--r--server/tests/api/requests.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/requests.js b/server/tests/api/requests.js
index 215c2a8f3..b4b8393e3 100644
--- a/server/tests/api/requests.js
+++ b/server/tests/api/requests.js
@@ -18,11 +18,12 @@ describe('Test requests stats', function () {
18 18
19 function uploadVideo (server, callback) { 19 function uploadVideo (server, callback) {
20 const name = 'my super video' 20 const name = 'my super video'
21 const category = 5
21 const description = 'my super description' 22 const description = 'my super description'
22 const tags = [ 'tag1', 'tag2' ] 23 const tags = [ 'tag1', 'tag2' ]
23 const fixture = 'video_short.webm' 24 const fixture = 'video_short.webm'
24 25
25 videosUtils.uploadVideo(server.url, server.accessToken, name, description, tags, fixture, callback) 26 videosUtils.uploadVideo(server.url, server.accessToken, name, category, description, tags, fixture, callback)
26 } 27 }
27 28
28 function getRequestsStats (server, callback) { 29 function getRequestsStats (server, callback) {