ZF-10381: Zend_Application_Resource_Locale: an unit test fails without locale configured

Issue Type: Unit Tests: Problem Created: 2010-08-25T12:03:31.000+0000 Last Updated: 2011-06-04T01:28:28.000+0000 Status: Resolved Fix version(s): - 1.11.8 (07/Jul/11)

Reporter: Benoît Durand (intiilapa) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application_Resource

Related issues: Attachments: - ZF-10381.php.patch


The method testOptionsPassedToResourceAreUsedToSetLocaleState1() fails without locale configured (or if your locale configured is the same as the default value tested).

I propose to add a test to skip this test if you can not succeed.


Posted by Benoît Durand (intiilapa) on 2010-08-25T13:30:36.000+0000

@Dolf: Forgot my patch. I don't see how the test can be completed without call the function setlocale().

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2011-06-04T01:28:03.000+0000

Fixed in r24111. Merged in release 1.11 branch in r24112.

Have you found an issue?

See the Overview section for more details.


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

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