aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.js
diff options
context:
space:
mode:
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 })