diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 12:13:37 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-07 12:13:37 +0200 |
commit | 3092476e64d09b449b4ad4f5198024afec1b22ca (patch) | |
tree | f2d2bd33578e122188cd2297f60e12813bffdbb7 /server/tests/real-world/real-world.js | |
parent | 023553a2bde74c5765b5ea679fc04128c27f18a0 (diff) | |
download | PeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.tar.gz PeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.tar.zst PeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.zip |
Server: add video language attribute
Diffstat (limited to 'server/tests/real-world/real-world.js')
-rw-r--r-- | server/tests/real-world/real-world.js | 3 |
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 ddce45cde..21f0732d0 100644 --- a/server/tests/real-world/real-world.js +++ b/server/tests/real-world/real-world.js | |||
@@ -21,7 +21,7 @@ program | |||
21 | .option('-u, --update [weight]', 'Weight for updating videos') | 21 | .option('-u, --update [weight]', 'Weight for updating videos') |
22 | .option('-v, --view [weight]', 'Weight for viewing videos') | 22 | .option('-v, --view [weight]', 'Weight for viewing videos') |
23 | .option('-l, --like [weight]', 'Weight for liking videos') | 23 | .option('-l, --like [weight]', 'Weight for liking videos') |
24 | .option('-s --dislike [weight]', 'Weight for disliking videos') | 24 | .option('-s, --dislike [weight]', 'Weight for disliking videos') |
25 | .option('-p, --pods [n]', 'Number of pods to run (3 or 6)', /^3|6$/, 3) | 25 | .option('-p, --pods [n]', 'Number of pods to run (3 or 6)', /^3|6$/, 3) |
26 | .option('-a, --action [interval]', 'Interval in ms for an action') | 26 | .option('-a, --action [interval]', 'Interval in ms for an action') |
27 | .option('-i, --integrity [interval]', 'Interval in ms for an integrity check') | 27 | .option('-i, --integrity [interval]', 'Interval in ms for an integrity check') |
@@ -207,6 +207,7 @@ function upload (servers, numServer, callback) { | |||
207 | category: 4, | 207 | category: 4, |
208 | nsfw: false, | 208 | nsfw: false, |
209 | licence: 2, | 209 | licence: 2, |
210 | language: 1, | ||
210 | description: Date.now() + ' description', | 211 | description: Date.now() + ' description', |
211 | tags: [ Date.now().toString().substring(0, 5) + 't1', Date.now().toString().substring(0, 5) + 't2' ], | 212 | tags: [ Date.now().toString().substring(0, 5) + 't1', Date.now().toString().substring(0, 5) + 't2' ], |
212 | fixture: 'video_short1.webm' | 213 | fixture: 'video_short1.webm' |