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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/users.js b/server/tests/api/users.js
index cb44d2611..9ab5083a0 100644
--- a/server/tests/api/users.js
+++ b/server/tests/api/users.js
@@ -108,7 +108,7 @@ describe('Test users', function () {
108 utils.getVideosList(server.url, function (err, res) { 108 utils.getVideosList(server.url, function (err, res) {
109 if (err) throw err 109 if (err) throw err
110 110
111 const video = res.body[0] 111 const video = res.body.data[0]
112 expect(video.author).to.equal('root') 112 expect(video.author).to.equal('root')
113 113
114 videoId = video.id 114 videoId = video.id