Issues

ZF-7554: testSetLocale(Zend_DateTest) unit tests failure

Issue Type: Unit Tests: Problem Created: 2009-08-10T12:51:26.000+0000 Last Updated: 2009-08-20T06:41:18.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)

Reporter: Alexander Veremyev (alexander) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments:

Description

{panel} 1) testSetLocale(Zend_DateTest) expected string difference < ???> got string {panel}

Comments

Posted by Alexander Veremyev (alexander) on 2009-08-11T07:27:04.000+0000

If Zend_Date tests run separately (using phpunit --filter Zend_DateTest AllTests.php), then 6 failures appear:

{panel} 1) testCompareDate(Zend_DateTest) expected integer < 1> difference < 2> got integer <-1>

  1. testGetYear(Zend_DateTest) expected string <01.01.2009 05:00:00> difference <xxxxxxxxxxxx???> got string

  2. testGetMonth(Zend_DateTest) expected string <01.02.1970 05:00:00> difference <xxxxxxxxxxxx???> got string

  3. testGetWeek(Zend_DateTest) expected string <08.01.1970 05:00:00> difference <xxxxxxxxxxxx???> got string

  4. testDay(Zend_DateTest) expected string <01.01.1970 00:00:00> difference <xxxxxxxxxxxxxxxxxx????> got string

  5. testSetLocale(Zend_DateTest) expected string difference got string {panel}

Posted by Thomas Weidner (thomas) on 2009-08-14T14:55:01.000+0000

Should be fixed with r17607. Please check this on your environment.

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