zendframework / zend-inputfilter

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

Remove test introduced on zendframework/zf2#3608 #27

Closed Maks3w closed 9 years ago

Maks3w commented 9 years ago

Seems only test validators are called. Lot tests already do that.

See zendframework/zf2#3608

weierophinney commented 9 years ago

This is testing a specific edge-case, specifically that if an array value is passed to a standard input (vs an ArrayInput), validation can still work. As such, removal of the test is likely to re-introduce a bug that was resolved previously.

weierophinney commented 9 years ago

I'd accept a change in the test name to make that more clear. :)

Maks3w commented 9 years ago

I'll remove this in another PR along the rest of test enhancements I'm doing.