Fix tests
|
@ -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 () {
|
||||
|
|
BIN
server/tests/fixtures/thumbnail-playlist.jpg
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
server/tests/fixtures/video_short.mp4.jpg
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
server/tests/fixtures/video_short.ogv.jpg
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
server/tests/fixtures/video_short.webm.jpg
vendored
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
server/tests/fixtures/video_short1.webm.jpg
vendored
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 6.2 KiB |
BIN
server/tests/fixtures/video_short2.webm.jpg
vendored
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
server/tests/fixtures/video_short3.webm.jpg
vendored
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.9 KiB |