diff --git a/frontend/src/pages/authorizationList/ExportResultsButton.test.tsx b/frontend/src/pages/authorizationList/ExportResultsButton.test.tsx index cd56d808..13e643f2 100644 --- a/frontend/src/pages/authorizationList/ExportResultsButton.test.tsx +++ b/frontend/src/pages/authorizationList/ExportResultsButton.test.tsx @@ -28,7 +28,7 @@ describe('Test suite for ExportResultsButton', () => { expect(downloadCsvFile).toHaveBeenCalledOnce() const expectedFilename = expect.stringMatching( - /OMMR_Authorizations_\d{8}_\d{9}\.csv/, + /OMRR_Authorizations_\d{8}_\d{9}\.csv/, ) expect(downloadCsvFile).toHaveBeenCalledWith(csv, expectedFilename) }) diff --git a/frontend/src/pages/authorizationList/ExportResultsButton.tsx b/frontend/src/pages/authorizationList/ExportResultsButton.tsx index 78c2e526..482f0880 100644 --- a/frontend/src/pages/authorizationList/ExportResultsButton.tsx +++ b/frontend/src/pages/authorizationList/ExportResultsButton.tsx @@ -12,7 +12,7 @@ export function ExportResultsButton() { const onExport = () => { const csv = omrrDataToCsv(filteredResults) const date = filenameDateFormat(new Date()) - downloadCsvFile(csv, `OMMR_Authorizations_${date}.csv`) + downloadCsvFile(csv, `OMRR_Authorizations_${date}.csv`) } return (