mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Merge pull request #15879 from strapi/private-s3-bucket/update-snapshots
This commit is contained in:
commit
006a531e85
@ -511,7 +511,7 @@ describe('ImageAssetCard', () => {
|
||||
alt=""
|
||||
aria-hidden="true"
|
||||
class="c18"
|
||||
src="http://somewhere.com/hello.png?width=40&height=40"
|
||||
src="http://somewhere.com/hello.png"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -402,7 +402,7 @@ exports[`MediaLibrary / AssetList snapshots the asset list 1`] = `
|
||||
alt="strapi-cover_1fabc982ce.png"
|
||||
aria-hidden="true"
|
||||
class="c14"
|
||||
src="http://localhost:1337/uploads/thumbnail_strapi_cover_1fabc982ce_5b43615ed5.png?width=1066&height=551"
|
||||
src="http://localhost:1337/uploads/thumbnail_strapi_cover_1fabc982ce_5b43615ed5.png"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -502,7 +502,7 @@ exports[`MediaLibrary / AssetList snapshots the asset list 1`] = `
|
||||
>
|
||||
<video
|
||||
crossorigin="anonymous"
|
||||
src="http://localhost:1337/uploads/mov_bbb_2f3907f7aa.mp4?updated_at=2021-09-14T07:48:30.882Z"
|
||||
src="http://localhost:1337/uploads/mov_bbb_2f3907f7aa.mp4"
|
||||
>
|
||||
<source
|
||||
type="video/mp4"
|
||||
|
||||
@ -219,7 +219,7 @@ describe('<EditAssetDialog />', () => {
|
||||
|
||||
fireEvent.click(screen.getByLabelText('Download'));
|
||||
expect(downloadFile).toHaveBeenCalledWith(
|
||||
'http://localhost:1337/uploads/Screenshot_2_5d4a574d61.png?updated_at=2021-10-04T09:42:31.670Z',
|
||||
'http://localhost:1337/uploads/Screenshot_2_5d4a574d61.png',
|
||||
'Screenshot 2.png'
|
||||
);
|
||||
});
|
||||
|
||||
@ -960,7 +960,7 @@ exports[`<EditAssetDialog /> renders and matches the snapshot 1`] = `
|
||||
>
|
||||
<img
|
||||
alt="Screenshot 2.png"
|
||||
src="http://localhost:1337/uploads/thumbnail_Screenshot_2_5d4a574d61.png?updated_at=2021-10-04T09:42:31.670Z"
|
||||
src="http://localhost:1337/uploads/thumbnail_Screenshot_2_5d4a574d61.png"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@ -960,7 +960,7 @@ exports[`<EditAssetDialog /> renders and matches the snapshot 1`] = `
|
||||
>
|
||||
<img
|
||||
alt="Screenshot 2.png"
|
||||
src="http://localhost:1337/uploads/thumbnail_Screenshot_2_5d4a574d61.png?updated_at=2021-10-04T09:42:31.670Z"
|
||||
src="http://localhost:1337/uploads/thumbnail_Screenshot_2_5d4a574d61.png"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@ -165,7 +165,7 @@ describe('<EditAssetDialog />', () => {
|
||||
|
||||
fireEvent.click(screen.getByLabelText('Download'));
|
||||
expect(downloadFile).toHaveBeenCalledWith(
|
||||
'http://localhost:1337/uploads/Screenshot_2_5d4a574d61.png?updated_at=2021-10-04T09:42:31.670Z',
|
||||
'http://localhost:1337/uploads/Screenshot_2_5d4a574d61.png',
|
||||
'Screenshot 2.png'
|
||||
);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user