diff --git a/cypress/integration/add-job/create-parameterless-jobs/index.js b/cypress/integration/add-job/create-parameterless-jobs/index.js index 05e23605..e099fd9e 100644 --- a/cypress/integration/add-job/create-parameterless-jobs/index.js +++ b/cypress/integration/add-job/create-parameterless-jobs/index.js @@ -57,7 +57,7 @@ Then( saveAndExpect({ cronExpression: '0 0 * ? * *', jobParameters: { - type: 'REPORT', + type: 'SUMMARY', }, jobType: 'DATA_INTEGRITY', name: 'Name', diff --git a/cypress/integration/edit-job/edit-parameterless-jobs/index.js b/cypress/integration/edit-job/edit-parameterless-jobs/index.js index 1671f6ef..82ec64fe 100644 --- a/cypress/integration/edit-job/edit-parameterless-jobs/index.js +++ b/cypress/integration/edit-job/edit-parameterless-jobs/index.js @@ -73,7 +73,7 @@ Then('the job is updated when the user saves the data integrity job', () => saveAndExpect({ jobType: 'DATA_INTEGRITY', jobParameters: { - type: 'REPORT', + type: 'SUMMARY', }, name: 'Name', cronExpression: '0 0 * ? * *', diff --git a/src/components/FormFields/Custom/DataIntegrityReportTypeField.js b/src/components/FormFields/Custom/DataIntegrityReportTypeField.js index 45fbcbb4..35137666 100644 --- a/src/components/FormFields/Custom/DataIntegrityReportTypeField.js +++ b/src/components/FormFields/Custom/DataIntegrityReportTypeField.js @@ -6,7 +6,7 @@ import { getReportTypeLabel } from '../../../services/server-translations/dataIn const { Field } = ReactFinalForm -const DEFAULT_VALUE = 'REPORT' +const DEFAULT_VALUE = 'SUMMARY' const DataIntegrityReportTypeField = ({ name, constants }) => { if (!constants) { @@ -23,7 +23,7 @@ const DataIntegrityReportTypeField = ({ name, constants }) => {