Skip to content

[Locale] StubIntlDateFormatterTest::testParseErrorStub #6387

@mmenozzi

Description

@mmenozzi

Hi,
the test StubIntlDateFormatterTest::testParseErrorStub doesn't pass on my machine.

PHPUnit 3.7.9 by Sebastian Bergmann.

Configuration read from /Users/manuele/Work/Projects/symfony/phpunit.xml.dist

....FF

Time: 3 seconds, Memory: 121.00Mb

There were 2 failures:

1) Symfony\Component\Locale\Tests\Stub\StubIntlDateFormatterTest::testParseErrorStub with data set #4 ('y-M-d', '1970/1/1')
Failed asserting that 0 is false.

/Users/manuele/Work/Projects/symfony/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php:858

2) Symfony\Component\Locale\Tests\Stub\StubIntlDateFormatterTest::testParseErrorStub with data set #5 ('yy-M-d', '70/1/1')
Failed asserting that 0 is false.

/Users/manuele/Work/Projects/symfony/src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php:858

FAILURES!
Tests: 6, Assertions: 30, Failures: 2.

I've intl extension loaded and my ICU version is 4.6. All other tests of Locale component pass.
Do you know what I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions