Skip to content

[Intl] Skip tests that need full lib-intl when there's no lib-intl #9896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

[Intl] Skip tests that need full lib-intl when there's no lib-intl #9896

wants to merge 1 commit into from

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Dec 30, 2013

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

NumberFormatter::formatCurrency executes indirectly Symfony\Component\Intl\ResourceBundle\Reader::read(), which has $bundle = new \ResourceBundle($locale, $path) - there's Fatal Error if \ResourceBundle isn't found. Added availability to run unit tests if lib-intl isn't installed.

@pamil pamil closed this Dec 30, 2013
@pamil pamil reopened this Dec 30, 2013
fabpot added a commit that referenced this pull request Dec 30, 2013
… lib-intl (pamil)

This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #9896).

Discussion
----------

[Intl] Skip tests that need full lib-intl when there's no lib-intl

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

`NumberFormatter::formatCurrency` executes indirectly `Symfony\Component\Intl\ResourceBundle\Reader::read()`, which has `$bundle = new \ResourceBundle($locale, $path)` - there's Fatal Error if `\ResourceBundle` isn't found. Added availability to run unit tests if `lib-intl` isn't installed.

Commits
-------

6614b66 Skips test that need full lib-intl.
@fabpot fabpot closed this Dec 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants