diff --git a/src/__fixtures__/hooks.tsx b/src/__fixtures__/hooks.tsx index c6e5c722..22e62d4b 100644 --- a/src/__fixtures__/hooks.tsx +++ b/src/__fixtures__/hooks.tsx @@ -60,7 +60,7 @@ export const createRandomMarketplaceRelease = ( package: { name: "name_mock.tar.gz", link: new URL("https://link_mock"), - sha265sum: `sha265sum_mock${id}`, + sha256sum: `sha256sum_mock${id}`, sha256sum_link: new URL("https://sha256sum_link_mock"), signature_link: new URL("https://signature_link_mock"), }, @@ -69,7 +69,7 @@ export const createRandomMarketplaceRelease = ( { name: "installer_name_mock.msi", link: new URL("https://installer_link_mock"), - sha265sum: "installer_sha265sum_mock", + sha256sum: "installer_sha256sum_mock", sha256sum_link: new URL("https://installer_sha256sum_link_mock"), signature_link: new URL("https://installer_signature_link_mock"), }, @@ -114,7 +114,7 @@ export const mockLatestTemurin = (installer): LatestTemurin => ({ package: { name: "name_mock.tar.gz", link: new URL("https://link_mock"), - checksum: "sha265sum_mock", + checksum: "sha256sum_mock", checksum_link: new URL("https://sha256sum_link_mock"), metadata_link: new URL("https://metadata_link_mock"), signature_link: new URL("https://signature_link_mock"), @@ -125,7 +125,7 @@ export const mockLatestTemurin = (installer): LatestTemurin => ({ ? { name: "installer_name_mock.msi", link: new URL("https://installer_link_mock"), - checksum: "installer_sha265sum_mock", + checksum: "installer_sha256sum_mock", checksum_link: new URL("https://installer_sha256sum_link_mock"), metadata_link: new URL("https://installer_metadata_link_mock"), signature_link: new URL("https://installer_signature_link_mock"), diff --git a/src/hooks/__tests__/__snapshots__/fetchLatestTemurin.test.tsx.snap b/src/hooks/__tests__/__snapshots__/fetchLatestTemurin.test.tsx.snap index 97b4427b..d8744cd0 100644 --- a/src/hooks/__tests__/__snapshots__/fetchLatestTemurin.test.tsx.snap +++ b/src/hooks/__tests__/__snapshots__/fetchLatestTemurin.test.tsx.snap @@ -2,7 +2,7 @@ exports[`fetchLatestForOS > binary URL is set correctly 1`] = ` { - "checksum": "sha265sum_mock", + "checksum": "sha256sum_mock", "link": "https://link_mock/", "release_name": "release_name_mock", } @@ -10,7 +10,7 @@ exports[`fetchLatestForOS > binary URL is set correctly 1`] = ` exports[`fetchLatestForOS > installer is returned if available 1`] = ` { - "checksum": "installer_sha265sum_mock", + "checksum": "installer_sha256sum_mock", "link": "https://installer_link_mock/", "release_name": "release_name_mock", } diff --git a/src/hooks/fetchMarketplace.tsx b/src/hooks/fetchMarketplace.tsx index dc4b8318..7aecd8ea 100644 --- a/src/hooks/fetchMarketplace.tsx +++ b/src/hooks/fetchMarketplace.tsx @@ -77,7 +77,7 @@ export interface MarketplaceRelease { package: { name: string link: URL - sha265sum: string + sha256sum: string sha256sum_link: URL signature_link: URL } @@ -85,7 +85,7 @@ export interface MarketplaceRelease { { name: string link: URL - sha265sum: string + sha256sum: string sha256sum_link: URL signature_link: URL }, diff --git a/src/pages/__tests__/__snapshots__/download.test.tsx.snap b/src/pages/__tests__/__snapshots__/download.test.tsx.snap index 331779e7..83ebf691 100644 --- a/src/pages/__tests__/__snapshots__/download.test.tsx.snap +++ b/src/pages/__tests__/__snapshots__/download.test.tsx.snap @@ -47,7 +47,7 @@ exports[`Download page > renders correctly - vendor 1`] = ` > renders correctly 1`] = ` > { const location = { state: { link: "https://fake-download.tar.gz", - checksum: "sha265sum_mock", + checksum: "sha256sum_mock", os: "linux", arch: "x64", java_version: "1.0.0",