diff options
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') |