Author: hardy.ferentschik
Date: 2009-08-20 09:36:03 -0400 (Thu, 20 Aug 2009)
New Revision: 17376
Modified:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorTest.java
Log:
HV-206
Modified:
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorTest.java
===================================================================
---
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorTest.java 2009-08-20
13:13:36 UTC (rev 17375)
+++
beanvalidation/trunk/validation-tck/src/main/java/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorTest.java 2009-08-20
13:36:03 UTC (rev 17376)
@@ -180,8 +180,7 @@
assertCorrectNumberOfViolations( constraintViolations, 1 );
ConstraintViolation<Author> constraintViolation =
constraintViolations.iterator().next();
- //commented we cannot make assumptions on the default locale.
- //assertEquals( constraintViolation.getMessage(), "The company name must be a
minimum 3 characters" );
+ assertEquals( constraintViolation.getMessage(), "The company name must be a
minimum 3 characters" );
assertEquals( constraintViolation.getMessageTemplate(), "The company name must be
a minimum {min} characters" );
assertTrue( !constraintViolation.getMessageTemplate().equals(
constraintViolation.getMessage() ) );
}
Show replies by date