propelorm/Propel2 — pull request #227 by cristianoc72 (2012-05-21 22:20:45+00:00)
Title: Validate behavior - add some more tests and fixes

1. Tests
* Add tests for interaction between *I18n behavior* and Validate behavior
* Add tests for interaction between *Concrete inheritance behavior* and Validate behavior
* Add tests for *Unique* constraint
2. Fixes
* Fix a typo in `src/Propel/Generator/Behavior/Validate/templates/objectValidate.php`
* Remove an unuseful `use` statement in `tests/Propel/Tests/Generator/Behavior/Validate/ValidateBehaviorTest.php`
* Currently, it's not possible to have more than one record with a field of value *null*, when Unique constraint is set up on this field. But database systems allow several `null` values for a unique field. With this PR, we fix this bug.