Issues

ZF-10036: Zend_Validate_PostCodeTest present some failures

Issue Type: Unit Tests: Problem Created: 2010-06-22T19:56:05.000+0000 Last Updated: 2010-07-04T04:34:59.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Ramon Henrique Ornelas (ramon) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments: - ZF-10036.patch

Description

With the correction made Zend_Validate_PostCode in the issue ZF-8612 r21485.

Some tests present failures are:

testErrorMessageText

<pre class="highlight">
Zend_Validate_PostCodeTest::testErrorMessageText
Failed asserting that  contains "not appear to be an postal code".

/my_path/tests/Zend/Validate/PostCodeTest.php:185

testSetGetFormat

<pre class="highlight">
Zend_Validate_PostCodeTest::testSetGetFormat
Failed asserting that <a> contains "a not empty string".

/my_path/tests/Zend/Validate/PostCodeTest.php:167
</a>

testSettingLocalesWithoutPostalCodes

<pre class="highlight">
Zend_Validate_PostCodeTest::testSettingLocalesWithoutPostalCodes
Failed asserting that  contains "Unable to detect a format".

/my_path/tests/Zend/Validate/PostCodeTest.php:134

Thanks advance

Comments

Posted by Ramon Henrique Ornelas (ramon) on 2010-06-22T20:01:11.000+0000

Attached the patch to be parse.

Posted by Thomas Weidner (thomas) on 2010-07-04T04:34:58.000+0000

Fixed with r22523

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts