Skip to content

Commit

Permalink
data-quality: schedule: Exception dates error type update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Parnell committed Mar 31, 2021
1 parent a13fc1b commit 9939ac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('ExceptDatesAreInSchedule', () => {

expect(errors.length).toBe(1);
for (const error of errors) {
expect(error.type).toBe(ValidationErrorType.MISSING_REQUIRED_FIELD);
expect(error.type).toBe(ValidationErrorType.EXCEPTION_DATES_NOT_IN_SCHEDULE);
expect(error.severity).toBe(ValidationErrorSeverity.WARNING);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = class ExceptDatesAreInSchedule extends Rule {
},
category: ValidationErrorCategory.CONFORMANCE,
severity: ValidationErrorSeverity.WARNING,
type: ValidationErrorType.MISSING_REQUIRED_FIELD,
type: ValidationErrorType.EXCEPTION_DATES_NOT_IN_SCHEDULE,
},
},
};
Expand Down

0 comments on commit 9939ac5

Please sign in to comment.