Skip to content

Commit 9939ac5

Browse files
author
Jared Parnell
committed
data-quality: schedule: Exception dates error type update
1 parent a13fc1b commit 9939ac5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rules/data-quality/schedule-exceptdates-match-recurrence-dates-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe('ExceptDatesAreInSchedule', () => {
8686

8787
expect(errors.length).toBe(1);
8888
for (const error of errors) {
89-
expect(error.type).toBe(ValidationErrorType.MISSING_REQUIRED_FIELD);
89+
expect(error.type).toBe(ValidationErrorType.EXCEPTION_DATES_NOT_IN_SCHEDULE);
9090
expect(error.severity).toBe(ValidationErrorSeverity.WARNING);
9191
}
9292
});

src/rules/data-quality/schedule-exceptdates-match-recurrence-dates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = class ExceptDatesAreInSchedule extends Rule {
2424
},
2525
category: ValidationErrorCategory.CONFORMANCE,
2626
severity: ValidationErrorSeverity.WARNING,
27-
type: ValidationErrorType.MISSING_REQUIRED_FIELD,
27+
type: ValidationErrorType.EXCEPTION_DATES_NOT_IN_SCHEDULE,
2828
},
2929
},
3030
};

0 commit comments

Comments
 (0)