ZF-8784: Unit tests in Zend_Form_ElementTest fail since new NotEmpty implementation
Description
Since the new NotEmpty implementation in r20020, giving an array with one element, like is done in {{testSetOptionsSetsArrayOfArrayValidators}} and {{testSetOptionsSetsArrayOfAssociativeArrayValidators}}, defaults to the Validator expecting that one element to be a type, resulting in an Exception when 'bar' is given instead. Patch for unit test will be attached, assuming this API change will be documented.
Comments
Posted by Menno Luiten (mluiten) on 2010-01-12T03:24:32.000+0000
Proposed patch of the unit tests
Posted by Thomas Weidner (thomas) on 2010-01-12T04:05:24.000+0000
Fixed with r20214. Thanks for the patch.