Details
-
Type:
Unit Tests: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.6
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Validate
-
Labels:None
Description
With the correction made Zend_Validate_PostCode in the issue ZF-8612 r21485.
Some tests present failures are:
testErrorMessageText
Zend_Validate_PostCodeTest::testErrorMessageText
Failed asserting that <string:'hello' does not appear to be a postal code> contains "not appear to be an postal code".
/my_path/tests/Zend/Validate/PostCodeTest.php:185
testSetGetFormat
Zend_Validate_PostCodeTest::testSetGetFormat Failed asserting that <string:A postcode-format string has to be given for validation> contains "a not empty string". /my_path/tests/Zend/Validate/PostCodeTest.php:167
testSettingLocalesWithoutPostalCodes
Zend_Validate_PostCodeTest::testSettingLocalesWithoutPostalCodes Failed asserting that <string:Unable to detect a postcode format for the region 'ER'> contains "Unable to detect a format". /my_path/tests/Zend/Validate/PostCodeTest.php:134
Thanks advance
Attached the patch to be parse.