From 1bbc0270f6fa08a3f227552d0086617ae1802fd2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 5 Apr 2021 18:56:24 +0200 Subject: Fix tests --- server/tests/api/server/services.ts | 4 ++-- server/tests/fixtures/thumbnail-playlist.jpg | Bin 2520 -> 4981 bytes server/tests/fixtures/video_short.mp4.jpg | Bin 2618 -> 4981 bytes server/tests/fixtures/video_short.ogv.jpg | Bin 2618 -> 4981 bytes server/tests/fixtures/video_short.webm.jpg | Bin 3598 -> 4981 bytes server/tests/fixtures/video_short1.webm.jpg | Bin 4616 -> 6309 bytes server/tests/fixtures/video_short2.webm.jpg | Bin 4221 -> 5506 bytes server/tests/fixtures/video_short3.webm.jpg | Bin 3972 -> 4981 bytes 8 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server') 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 () { expect(res.body.width).to.equal(560) expect(res.body.height).to.equal(315) expect(res.body.thumbnail_url).exist - expect(res.body.thumbnail_width).to.equal(223) - expect(res.body.thumbnail_height).to.equal(122) + expect(res.body.thumbnail_width).to.equal(280) + expect(res.body.thumbnail_height).to.equal(157) }) it('Should have a valid oEmbed response with small max height query', async function () { diff --git a/server/tests/fixtures/thumbnail-playlist.jpg b/server/tests/fixtures/thumbnail-playlist.jpg index 19db4f18c..62cd77435 100644 Binary files a/server/tests/fixtures/thumbnail-playlist.jpg and b/server/tests/fixtures/thumbnail-playlist.jpg differ diff --git a/server/tests/fixtures/video_short.mp4.jpg b/server/tests/fixtures/video_short.mp4.jpg index 48790ffec..62cd77435 100644 Binary files a/server/tests/fixtures/video_short.mp4.jpg and b/server/tests/fixtures/video_short.mp4.jpg differ diff --git a/server/tests/fixtures/video_short.ogv.jpg b/server/tests/fixtures/video_short.ogv.jpg index c4c1d00e5..62cd77435 100644 Binary files a/server/tests/fixtures/video_short.ogv.jpg and b/server/tests/fixtures/video_short.ogv.jpg differ diff --git a/server/tests/fixtures/video_short.webm.jpg b/server/tests/fixtures/video_short.webm.jpg index 7f8047516..62cd77435 100644 Binary files a/server/tests/fixtures/video_short.webm.jpg and b/server/tests/fixtures/video_short.webm.jpg differ diff --git a/server/tests/fixtures/video_short1.webm.jpg b/server/tests/fixtures/video_short1.webm.jpg index 582eb9ea3..615cb2a5d 100644 Binary files a/server/tests/fixtures/video_short1.webm.jpg and b/server/tests/fixtures/video_short1.webm.jpg differ diff --git a/server/tests/fixtures/video_short2.webm.jpg b/server/tests/fixtures/video_short2.webm.jpg index b331aba3b..aa3126381 100644 Binary files a/server/tests/fixtures/video_short2.webm.jpg and b/server/tests/fixtures/video_short2.webm.jpg differ diff --git a/server/tests/fixtures/video_short3.webm.jpg b/server/tests/fixtures/video_short3.webm.jpg index ec8652167..62cd77435 100644 Binary files a/server/tests/fixtures/video_short3.webm.jpg and b/server/tests/fixtures/video_short3.webm.jpg differ -- cgit v1.2.3