Skip to content

Commit

Permalink
[CMDCT-3120] Remove zero validation errors from aab-ch validation set (
Browse files Browse the repository at this point in the history
  • Loading branch information
BearHanded authored Dec 8, 2023
1 parent 727a105 commit 58c25df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions services/ui-src/src/measures/2023/AABCH/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,11 @@ describe(`Test FFY ${year} ${measureAbbr}`, () => {
expect(V.validateReasonForNotReporting).not.toHaveBeenCalled();
expect(V.validateAtLeastOneRateComplete).toHaveBeenCalled();
expect(V.validateNumeratorsLessThanDenominatorsPM).toHaveBeenCalled();
expect(V.validateRateNotZeroPM).toHaveBeenCalled();
expect(V.validateRateZeroPM).toHaveBeenCalled();
expect(V.validateBothDatesCompleted).toHaveBeenCalled();
expect(V.validateAtLeastOneDataSource).toHaveBeenCalled();
expect(V.validateAtLeastOneDataSourceType).toHaveBeenCalled();
expect(V.validateAtLeastOneDeviationFieldFilled).toHaveBeenCalled();
expect(V.validateNumeratorLessThanDenominatorOMS).toHaveBeenCalled();
expect(V.validateRateZeroOMS).toHaveBeenCalled();
expect(V.validateRateNotZeroOMS).toHaveBeenCalled();
expect(V.validateTotalNDR).toHaveBeenCalled();
expect(V.validateOMSTotalNDR).toHaveBeenCalled();
expect(V.validateRequiredRadioButtonForCombinedRates).toHaveBeenCalled();
Expand Down
4 changes: 0 additions & 4 deletions services/ui-src/src/measures/2023/AABCH/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const AABCHValidation = (data: FormData) => {
ageGroups,
PMD.categories
),
...GV.validateRateZeroPM(performanceMeasureArray, OPM, ageGroups, data),
...GV.validateRateNotZeroPM(performanceMeasureArray, OPM, ageGroups),
...GV.validateAtLeastOneDeviationFieldFilled(
didCalculationsDeviate,
deviationReason
Expand Down Expand Up @@ -65,8 +63,6 @@ const AABCHValidation = (data: FormData) => {
validationCallbacks: [
GV.validateNumeratorLessThanDenominatorOMS(),
GV.validateOMSTotalNDR(),
GV.validateRateNotZeroOMS(),
GV.validateRateZeroOMS(),
],
}),
];
Expand Down

0 comments on commit 58c25df

Please sign in to comment.