aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-05 18:56:24 +0200
committerChocobozzz <me@florianbigard.com>2021-04-05 18:56:24 +0200
commit1bbc0270f6fa08a3f227552d0086617ae1802fd2 (patch)
tree622d93135c3610251b262df726403b84e3ee2990 /server/tests/api
parent4e6276c49398d5f1cf9901e5f1bea7b50509b2d0 (diff)
downloadPeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.tar.gz
PeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.tar.zst
PeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.zip
Fix tests
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/services.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/server/services.ts b/server/tests/api/server/services.ts
index 6202eb66c..f0fa91674 100644
--- a/server/tests/api/server/services.ts
+++ b/server/tests/api/server/services.ts
@@ -99,8 +99,8 @@ describe('Test services', function () {
99 expect(res.body.width).to.equal(560) 99 expect(res.body.width).to.equal(560)
100 expect(res.body.height).to.equal(315) 100 expect(res.body.height).to.equal(315)
101 expect(res.body.thumbnail_url).exist 101 expect(res.body.thumbnail_url).exist
102 expect(res.body.thumbnail_width).to.equal(223) 102 expect(res.body.thumbnail_width).to.equal(280)
103 expect(res.body.thumbnail_height).to.equal(122) 103 expect(res.body.thumbnail_height).to.equal(157)
104 }) 104 })
105 105
106 it('Should have a valid oEmbed response with small max height query', async function () { 106 it('Should have a valid oEmbed response with small max height query', async function () {