diff options
Diffstat (limited to 'server/tests/api/users.ts')
-rw-r--r-- | server/tests/api/users.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users.ts b/server/tests/api/users.ts index 33646e84f..5066e73fc 100644 --- a/server/tests/api/users.ts +++ b/server/tests/api/users.ts | |||
@@ -117,7 +117,7 @@ describe('Test users', function () { | |||
117 | const res = await getVideosList(server.url) | 117 | const res = await getVideosList(server.url) |
118 | const video = res.body.data[ 0 ] | 118 | const video = res.body.data[ 0 ] |
119 | 119 | ||
120 | expect(video.account) | 120 | expect(video.accountName) |
121 | .to | 121 | .to |
122 | .equal('root') | 122 | .equal('root') |
123 | videoId = video.id | 123 | videoId = video.id |
@@ -487,7 +487,7 @@ describe('Test users', function () { | |||
487 | .equal(1) | 487 | .equal(1) |
488 | 488 | ||
489 | const video = res.body.data[ 0 ] | 489 | const video = res.body.data[ 0 ] |
490 | expect(video.account) | 490 | expect(video.accountName) |
491 | .to | 491 | .to |
492 | .equal('root') | 492 | .equal('root') |
493 | }) | 493 | }) |