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 () {
|
||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.9 KiB |