Merge pull request #15879 from strapi/private-s3-bucket/update-snapshots

This commit is contained in:
Marc 2023-02-22 17:32:27 +01:00 committed by GitHub
commit 006a531e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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'
);
});

View File

@ -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

View File

@ -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

View File

@ -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'
);
});