jackrabbit
jackrabbit copied to clipboard
Fix a unit test
Effectively, testCreateInvalidValueConstraints() tested only the first invalid QDef because the try..catch was around the loop over the invalid QDefs. Therefore, if createValueConstraint() on the first invalid QDef threw an InvalidConstraintException as expected, then the other invalid QDefs would not be checked.