1
0
Fork 0
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:
Chocobozzz 2016-05-03 21:03:51 +02:00
parent 17c912d9b1
commit 6d8ada5f24
3 changed files with 42 additions and 13 deletions

View file

@ -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()
})
})