Zend Framework

Zend_Application_Resource_Locale: an unit test fails without locale configured

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.10.8
  • Fix Version/s: 1.11.8
  • Labels:
    None

Description

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.

Activity

Hide
Benoît Durand added a comment -

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

Show
Benoît Durand added a comment - @Dolf: Forgot my patch. I don't see how the test can be completed without call the function setlocale().
Hide
Dolf Schimmel (Freeaqingme) added a comment -

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

Show
Dolf Schimmel (Freeaqingme) added a comment - Fixed in r24111. Merged in release 1.11 branch in r24112.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: