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/videos/services.ts | |
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/videos/services.ts')
-rw-r--r-- | server/tests/api/videos/services.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/services.ts b/server/tests/api/videos/services.ts index e456184cf..45b4a1a81 100644 --- a/server/tests/api/videos/services.ts +++ b/server/tests/api/videos/services.ts | |||
@@ -38,7 +38,7 @@ describe('Test services', function () { | |||
38 | 38 | ||
39 | expect(res.body.html).to.equal(expectedHtml) | 39 | expect(res.body.html).to.equal(expectedHtml) |
40 | expect(res.body.title).to.equal(server.video.name) | 40 | expect(res.body.title).to.equal(server.video.name) |
41 | expect(res.body.author_name).to.equal(server.video.accountName) | 41 | expect(res.body.author_name).to.equal(server.video.account.name) |
42 | expect(res.body.width).to.equal(560) | 42 | expect(res.body.width).to.equal(560) |
43 | expect(res.body.height).to.equal(315) | 43 | expect(res.body.height).to.equal(315) |
44 | expect(res.body.thumbnail_url).to.equal(expectedThumbnailUrl) | 44 | expect(res.body.thumbnail_url).to.equal(expectedThumbnailUrl) |
@@ -58,7 +58,7 @@ describe('Test services', function () { | |||
58 | 58 | ||
59 | expect(res.body.html).to.equal(expectedHtml) | 59 | expect(res.body.html).to.equal(expectedHtml) |
60 | expect(res.body.title).to.equal(server.video.name) | 60 | expect(res.body.title).to.equal(server.video.name) |
61 | expect(res.body.author_name).to.equal(server.video.accountName) | 61 | expect(res.body.author_name).to.equal(server.video.account.name) |
62 | expect(res.body.height).to.equal(50) | 62 | expect(res.body.height).to.equal(50) |
63 | expect(res.body.width).to.equal(50) | 63 | expect(res.body.width).to.equal(50) |
64 | expect(res.body).to.not.have.property('thumbnail_url') | 64 | expect(res.body).to.not.have.property('thumbnail_url') |