Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vershwal committed Sep 18, 2024
1 parent 6ce6112 commit baa1cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghost/core/test/e2e-api/admin/oembed.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ describe('Oembed API', function () {
pageMock.isDone().should.be.true();

// Check that the substitute icon URL is returned in place of the original
res.body.metadata.icon.should.eql(`${urlUtils.urlFor('home', true)}/content/images/icon/image-01.png`);
res.body.metadata.icon.should.eql(`${urlUtils.urlFor('home', true)}content/images/icon/image-01.png`);
});

it('should fetch and store thumbnails', async function () {
Expand All @@ -303,7 +303,7 @@ describe('Oembed API', function () {
pageMock.isDone().should.be.true();

// Check that the substitute thumbnail URL is returned in place of the original
res.body.metadata.thumbnail.should.eql(`${urlUtils.urlFor('home', true)}/content/images/thumbnail/image-01.png`);
res.body.metadata.thumbnail.should.eql(`${urlUtils.urlFor('home', true)}content/images/thumbnail/image-01.png`);
});

describe('with unknown provider', function () {
Expand Down

0 comments on commit baa1cdd

Please sign in to comment.