mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Better tests for a better world
This commit is contained in:
parent
17c912d9b1
commit
6d8ada5f24
3 changed files with 42 additions and 13 deletions
|
@ -98,7 +98,10 @@ describe('Test users', function () {
|
|||
utils.getVideosList(server.url, function (err, res) {
|
||||
if (err) throw err
|
||||
|
||||
video_id = res.body[0].id
|
||||
const video = res.body[0]
|
||||
expect(video.author).to.equal('root')
|
||||
|
||||
video_id = video.id
|
||||
done()
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue