We're updating the issue view to help you get more done.Learn more

Changing minimum username length causes failure while building

Using Zanata-platform-4.0.0 and LDAP/JAAS authentification I am trying to set the minimum required characters for the username from 3 to 2. (related: ZNTA-1588 ).
Building the zanata-4.0.0.war causes this:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Running org.zanata.validator.UsernameValidationTest Tests run: 36, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.242 sec <<< FAILURE! - in org.zanata.validator.UsernameValidationTest failInvalidUsername[24: userAname](org.zanata.validator.UsernameValidationTest) Time elapsed: 0.023 sec <<< FAILURE! java.lang.AssertionError: Expecting: <0> to be greater than or equal to: <1> at org.zanata.validator.UsernameValidationTest.failInvalidUsername(UsernameValidationTest.java:139) failInvalidUsername[25: userZname](org.zanata.validator.UsernameValidationTest) Time elapsed: 0.001 sec <<< FAILURE! java.lang.AssertionError: Expecting: <0> to be greater than or equal to: <1> at org.zanata.validator.UsernameValidationTest.failInvalidUsername(UsernameValidationTest.java:139) failInvalidUsername[27: bo](org.zanata.validator.UsernameValidationTest) Time elapsed: 0.001 sec <<< FAILURE! java.lang.AssertionError: Expecting: <0> to be greater than or equal to: <1> at org.zanata.validator.UsernameValidationTest.failInvalidUsername(UsernameValidationTest.java:139)

What might these placeholders stand for?

Status

Assignee

Unassigned

Reporter

lob

Tested Version/s

None

Fix versions

Priority

unspecified