Increase expected error messages by two because VALIDATION_HL7_WG_NEEDED

New validation requirement as of 2023-09-16
This commit is contained in:
dotasek 2023-12-19 11:45:46 -05:00
parent 42f7fb2320
commit 10f59352a5
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public class JpaPersistedResourceValidationSupportFromValidationChainTest {
final ValidationResult validationResult = validator.validateWithResult(bundleWithBadLibrary);
assertEquals(10, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
assertEquals(12, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
}
@Test
@ -91,7 +91,7 @@ public class JpaPersistedResourceValidationSupportFromValidationChainTest {
final ValidationResult validationResult = validator.validateWithResult(bundleWithMeasureOnly );
assertEquals(8, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
assertEquals(10, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
}
@Test
@ -105,7 +105,7 @@ public class JpaPersistedResourceValidationSupportFromValidationChainTest {
final ValidationResult validationResult = validator.validateWithResult(bundleWithMeasureOnlyNoLibraryReference);
assertEquals(7, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
assertEquals(9, validationResult.getMessages().stream().filter(errorMessagePredicate()).count());
}
@Test