aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/friendsAdvanced.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-06 14:15:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-06 14:15:03 +0200
commitbe587647f98a4b83ca06a61fe55c7ac5d60927c6 (patch)
tree8a28a1cb9c9a06d80803ecd3fa00aa6767bb3f8b /server/tests/api/friendsAdvanced.js
parent8483b2216454afdb88f6aa53cad5eecd8c394bc0 (diff)
downloadPeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.gz
PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.zst
PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.zip
Add tags support to server
Diffstat (limited to 'server/tests/api/friendsAdvanced.js')
-rw-r--r--server/tests/api/friendsAdvanced.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/friendsAdvanced.js b/server/tests/api/friendsAdvanced.js
index 7b895b6b5..86620254e 100644
--- a/server/tests/api/friendsAdvanced.js
+++ b/server/tests/api/friendsAdvanced.js
@@ -27,10 +27,11 @@ describe('Test advanced friends', function () {
27 function uploadVideo (podNumber, callback) { 27 function uploadVideo (podNumber, callback) {
28 const name = 'my super video' 28 const name = 'my super video'
29 const description = 'my super description' 29 const description = 'my super description'
30 const tags = [ 'tag1', 'tag2' ]
30 const fixture = 'video_short.webm' 31 const fixture = 'video_short.webm'
31 const server = servers[podNumber - 1] 32 const server = servers[podNumber - 1]
32 33
33 return utils.uploadVideo(server.url, server.accessToken, name, description, fixture, callback) 34 return utils.uploadVideo(server.url, server.accessToken, name, description, tags, fixture, callback)
34 } 35 }
35 36
36 function getVideos (podNumber, callback) { 37 function getVideos (podNumber, callback) {