zendframework / zend-inputfilter

InputFilter component from Zend Framework
BSD 3-Clause "New" or "Revised" License
64 stars 50 forks source link

Ensure custom error messages are used for required missing inputs #63

Closed weierophinney closed 9 years ago

weierophinney commented 9 years ago

This builds on #61 to add a few more test cases covering when required inputs have custom error messages set.

The code already correctly handles it, but we did not have test cases for the scenarios previously.

weierophinney commented 9 years ago

As @Maks3w pointed out: these were the tests I rewrote from #60 - we needed both sets, after all!