8000 Tests failing in February (QueryDqlFunctionTest::testDateAdd with "month" dataset) · Issue #7031 · doctrine/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Tests failing in February (QueryDqlFunctionTest::testDateAdd with "month" dataset) #7031
Closed
@Majkl578

Descripti 7538 on

@Majkl578

https://travis-ci.org/doctrine/doctrine2/jobs/336054843#L616

1) Doctrine\Tests\ORM\Functional\QueryDqlFunctionTest::testDateAdd with data set "month" ('month', 1, 2592000, 172800) Failed asserting that 2378089 matches expected 2592000.

The "month" dataset for QueryDqlFunctionTest::testDateAdd works with assumption that month has 30 days +- delta 2 days, but in February the difference is larger (2378089s is ~27.52 days).
https://github.com/doctrine/doctrine2/blame/master/tests/Doctrine/Tests/ORM/Functional/QueryDqlFunctionTest.php#L351

Test added in #6742.
Applies to 2.6 & master.

/cc @lcobucci

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0