-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Intl] Date tests broken without intl extension, IntlDateFormatter #15049
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
Comments
This is exactly the error I got running tests locally. There are around 70 failing tests because of this. |
@iltar Can you test my PR? Is it testEqualWithNative fail for you when intl extension installed? Many developers haven't intl extension and when they run tests such many broken tests will be confuse them. |
@ewgRa Sadly not within the upcoming week as I have a week off work and I cannot access my workstation from home. |
This is the reason why we have many tests being skipped when the ICU data of the Intl extension does not match the stub version data, because we write tests for the icu version implemented by the stub. However, it looks like these tests are missing the |
This PR was merged into the 2.3 branch. Discussion ---------- Add appveyor.yml for C.I. on Windows | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | YES, both on Travis (Linux) and on Appveyor (Windows)! | Fixed tickets | #13934, #15049, #14259, #15045, #15444 | License | MIT | Doc PR | symfony/symfony-docs#5654 - testing two matrix lines: - one without mbtring nor fileinfo nor intl - one with these ext enables, intl version 51.2 so that almost no test is skipped on our Intl component - bug fixes thanks to these harder testing conditions - some display bug on appveyor, [reported here](http://help.appveyor.com/discussions/suggestions/197-support-ansi-color-codes). Commits ------- ea5d656 Windows and Intl fixes 8bbd8d9 Add appveyor.yml for C.I. on Windows
When intl extension not installed, many tests that use IntlDateFormatter is broken. For example:
When I install intl extension with ICU 52.1 and change getIcuStubVersion to my ICU version - tests passed without failures.
I write PR #15045 that fix it in my machine, but seems it broke tests that run on travis and I can't find reason why on travis native IntDateFormatter return no comma after year, but later in tests start returning with comma.
The text was updated successfully, but these errors were encountered: