Skip to content

[Locale] StubIntlDateFormatterTest::testParseErrorStub #6387

Closed
@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy