1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Add total results field and wrap videos in data field when listing

videos
This commit is contained in:
Chocobozzz 2016-05-21 19:30:22 +02:00
parent 501bc6c2b1
commit 68ce3ae021
7 changed files with 105 additions and 76 deletions

View file

@ -108,7 +108,7 @@ describe('Test users', function () {
utils.getVideosList(server.url, function (err, res) {
if (err) throw err
const video = res.body[0]
const video = res.body.data[0]
expect(video.author).to.equal('root')
videoId = video.id