diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-05 18:56:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-05 18:56:24 +0200 |
commit | 1bbc0270f6fa08a3f227552d0086617ae1802fd2 (patch) | |
tree | 622d93135c3610251b262df726403b84e3ee2990 /server | |
parent | 4e6276c49398d5f1cf9901e5f1bea7b50509b2d0 (diff) | |
download | PeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.tar.gz PeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.tar.zst PeerTube-1bbc0270f6fa08a3f227552d0086617ae1802fd2.zip |
Fix tests
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/server/services.ts | 4 | ||||
-rw-r--r-- | server/tests/fixtures/thumbnail-playlist.jpg | bin | 2520 -> 4981 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short.mp4.jpg | bin | 2618 -> 4981 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short.ogv.jpg | bin | 2618 -> 4981 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short.webm.jpg | bin | 3598 -> 4981 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short1.webm.jpg | bin | 4616 -> 6309 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short2.webm.jpg | bin | 4221 -> 5506 bytes | |||
-rw-r--r-- | server/tests/fixtures/video_short3.webm.jpg | bin | 3972 -> 4981 bytes |
8 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 () { |
diff --git a/server/tests/fixtures/thumbnail-playlist.jpg b/server/tests/fixtures/thumbnail-playlist.jpg index 19db4f18c..62cd77435 100644 --- a/server/tests/fixtures/thumbnail-playlist.jpg +++ b/server/tests/fixtures/thumbnail-playlist.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short.mp4.jpg b/server/tests/fixtures/video_short.mp4.jpg index 48790ffec..62cd77435 100644 --- a/server/tests/fixtures/video_short.mp4.jpg +++ b/server/tests/fixtures/video_short.mp4.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short.ogv.jpg b/server/tests/fixtures/video_short.ogv.jpg index c4c1d00e5..62cd77435 100644 --- a/server/tests/fixtures/video_short.ogv.jpg +++ b/server/tests/fixtures/video_short.ogv.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short.webm.jpg b/server/tests/fixtures/video_short.webm.jpg index 7f8047516..62cd77435 100644 --- a/server/tests/fixtures/video_short.webm.jpg +++ b/server/tests/fixtures/video_short.webm.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short1.webm.jpg b/server/tests/fixtures/video_short1.webm.jpg index 582eb9ea3..615cb2a5d 100644 --- a/server/tests/fixtures/video_short1.webm.jpg +++ b/server/tests/fixtures/video_short1.webm.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short2.webm.jpg b/server/tests/fixtures/video_short2.webm.jpg index b331aba3b..aa3126381 100644 --- a/server/tests/fixtures/video_short2.webm.jpg +++ b/server/tests/fixtures/video_short2.webm.jpg | |||
Binary files differ | |||
diff --git a/server/tests/fixtures/video_short3.webm.jpg b/server/tests/fixtures/video_short3.webm.jpg index ec8652167..62cd77435 100644 --- a/server/tests/fixtures/video_short3.webm.jpg +++ b/server/tests/fixtures/video_short3.webm.jpg | |||
Binary files differ | |||