Skip to content

Commit

Permalink
Fix integration.ee.cdi.ConstraintValidatorInjectionTest
Browse files Browse the repository at this point in the history
A mistake was introduced in the test during the work on BV 3.0.
The 2.0 branch was OK. I reported what we had in the 2.0 branch in master.
  • Loading branch information
gsmet committed Jul 2, 2020
1 parent cc3da19 commit 919cb5a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -53,8 +53,8 @@ public void testJndiBoundValidatorFactoryIsCdiEnabled() throws Exception {
Set<ConstraintViolation<Foo>> violations = validatorFactory.getValidator().validate( new Foo() );

assertThat( violations ).containsOnlyViolations(
violationOf( GreetingConstraint.class ).withMessage( "Hello, Mr. bar!" ),
violationOf( GreetingConstraint.class ).withMessage( "Good morning, Mr. qux!" )
violationOf( GreetingConstraint.class ).withMessage( "Hello, bar!" ),
violationOf( GreetingConstraint.class ).withMessage( "Good morning, qux!" )
);
}

Expand Down

0 comments on commit 919cb5a

Please sign in to comment.