Issues

ZF-5563: testMultiByteWeekdaysShouldNotBeTruncated(Zend_DateTest) unit tests failure

Issue Type: Unit Tests: Problem Created: 2009-01-16T04:48:40.000+0000 Last Updated: 2009-01-17T13:26:52.000+0000 Status: Resolved Fix version(s): - 1.7.3 (19/Jan/09)

Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Date

Related issues: - ZF-5203

Attachments:

Description

{panel} 1) testMultiByteWeekdaysShouldNotBeTruncated(Zend_DateTest) Failed asserting that two strings are equal. expected string <ś> difference <x?> got string {panel}

Comments

Posted by Thomas Weidner (thomas) on 2009-01-17T11:14:29.000+0000

On WinXP, PHP5.2.5

<pre class="highlight">
PHPUnit 3.3.5 by Sebastian Bergmann.

..................FFF....................................... 60 / 95
...................................

Time: 29 seconds

There were 3 failures:

1) testToString(Zend_DateTest)
expected string <09>
difference      
got string      <2009>
C:\Voxtronic\3rdParty\Zend Framework\tests\Zend\DateTest.php:413

2) testToValue(Zend_DateTest)
expected integer <   9>
difference       <2000>
got integer      <2009>
C:\Voxtronic\3rdParty\Zend Framework\tests\Zend\DateTest.php:496

3) testGet(Zend_DateTest)
expected string <09>
difference      
got string      <2009>
C:\Voxtronic\3rdParty\Zend Framework\tests\Zend\DateTest.php:634

FAILURES!
Tests: 95, Assertions: 1155, Failures: 3.

Posted by Alexander Veremyev (alexander) on 2009-01-17T11:31:51.000+0000

Fixed with r13674 and r13675

Posted by Alexander Veremyev (alexander) on 2009-01-17T11:36:56.000+0000

Fixed.

Posted by Alexander Veremyev (alexander) on 2009-01-17T12:16:30.000+0000

The problem still exists for the release-1.7 branch

Posted by Alexander Veremyev (alexander) on 2009-01-17T13:26:51.000+0000

Fixed

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