aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-03 21:03:51 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-03 21:03:51 +0200
commit6d8ada5f24b245d3c84d29d65013f5315cbeff27 (patch)
tree2b4fdb38353279927c013219c03cbbe109086931 /server/tests/api/users.js
parent17c912d9b111eb4af3ff171a23dc866f76dc4fab (diff)
downloadPeerTube-6d8ada5f24b245d3c84d29d65013f5315cbeff27.tar.gz
PeerTube-6d8ada5f24b245d3c84d29d65013f5315cbeff27.tar.zst
PeerTube-6d8ada5f24b245d3c84d29d65013f5315cbeff27.zip
Better tests for a better world
Diffstat (limited to 'server/tests/api/users.js')
-rw-r--r--server/tests/api/users.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/tests/api/users.js b/server/tests/api/users.js
index 2c97f75d4..e5395a79f 100644
--- a/server/tests/api/users.js
+++ b/server/tests/api/users.js
@@ -98,7 +98,10 @@ describe('Test users', function () {
98 utils.getVideosList(server.url, function (err, res) { 98 utils.getVideosList(server.url, function (err, res) {
99 if (err) throw err 99 if (err) throw err
100 100
101 video_id = res.body[0].id 101 const video = res.body[0]
102 expect(video.author).to.equal('root')
103
104 video_id = video.id
102 done() 105 done()
103 }) 106 })
104 }) 107 })