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:
parent
501bc6c2b1
commit
68ce3ae021
7 changed files with 105 additions and 76 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue