diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-12 11:06:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-12 11:44:28 +0100 |
commit | b64c950a1cb37da880fc14e8535f438c78b5b7f7 (patch) | |
tree | 713bcba3c36e8b13345f0d7134d2e2876265b8e2 /server/tests/api/users | |
parent | 416c359cb5967c2b5dff0909ef5558a49d753a1a (diff) | |
download | PeerTube-b64c950a1cb37da880fc14e8535f438c78b5b7f7.tar.gz PeerTube-b64c950a1cb37da880fc14e8535f438c78b5b7f7.tar.zst PeerTube-b64c950a1cb37da880fc14e8535f438c78b5b7f7.zip |
Update videos api list for account
Diffstat (limited to 'server/tests/api/users')
-rw-r--r-- | server/tests/api/users/users.ts | 4 |
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 () { |