aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/services.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-12 11:06:15 +0100
committerChocobozzz <me@florianbigard.com>2018-03-12 11:44:28 +0100
commitb64c950a1cb37da880fc14e8535f438c78b5b7f7 (patch)
tree713bcba3c36e8b13345f0d7134d2e2876265b8e2 /server/tests/api/videos/services.ts
parent416c359cb5967c2b5dff0909ef5558a49d753a1a (diff)
downloadPeerTube-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.ts4
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')