aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index c650a74f5..b6ab4f660 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -94,7 +94,7 @@ describe('Test users', function () {
94 const res = await getVideosList(server.url) 94 const res = await getVideosList(server.url)
95 const video = res.body.data[ 0 ] 95 const video = res.body.data[ 0 ]
96 96
97 expect(video.accountName).to.equal('root') 97 expect(video.account.name).to.equal('root')
98 videoId = video.id 98 videoId = video.id
99 }) 99 })
100 100
@@ -432,7 +432,7 @@ describe('Test users', function () {
432 expect(res.body.total).to.equal(1) 432 expect(res.body.total).to.equal(1)
433 433
434 const video = res.body.data[ 0 ] 434 const video = res.body.data[ 0 ]
435 expect(video.accountName).to.equal('root') 435 expect(video.account.name).to.equal('root')
436 }) 436 })
437 437
438 it('Should register a new user', async function () { 438 it('Should register a new user', async function () {