aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/real-world/real-world.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/real-world/real-world.js')
-rw-r--r--server/tests/real-world/real-world.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/real-world/real-world.js b/server/tests/real-world/real-world.js
index 239b790ae..f17c83f85 100644
--- a/server/tests/real-world/real-world.js
+++ b/server/tests/real-world/real-world.js
@@ -201,13 +201,14 @@ function upload (servers, numServer, callback) {
201 if (!callback) callback = function () {} 201 if (!callback) callback = function () {}
202 202
203 const name = Date.now() + ' name' 203 const name = Date.now() + ' name'
204 const category = 4
204 const description = Date.now() + ' description' 205 const description = Date.now() + ' description'
205 const tags = [ Date.now().toString().substring(0, 5) + 't1', Date.now().toString().substring(0, 5) + 't2' ] 206 const tags = [ Date.now().toString().substring(0, 5) + 't1', Date.now().toString().substring(0, 5) + 't2' ]
206 const file = 'video_short1.webm' 207 const file = 'video_short1.webm'
207 208
208 console.log('Uploading video to server ' + numServer) 209 console.log('Uploading video to server ' + numServer)
209 210
210 videosUtils.uploadVideo(servers[numServer].url, servers[numServer].accessToken, name, description, tags, file, callback) 211 videosUtils.uploadVideo(servers[numServer].url, servers[numServer].accessToken, name, category, description, tags, file, callback)
211} 212}
212 213
213function update (servers, numServer, callback) { 214function update (servers, numServer, callback) {