•  
      request #9786 Unit tests fail when executed on a Saturday or Sunday
    Infos
    #9786
    Thomas Gerbet (tgerbet)
    2017-01-07 10:46
    2017-01-01 22:19
    10057
    Details
    Unit tests fail when executed on a Saturday or Sunday
    The test itRetrievesAnEmptyArrayWhenBurndownIsInTheFutur in plugins/tracker/tests/Tracker_FormElement_Field_BurndownTest.php fails when it is not executed on a week day.

    This should not happen, tests must be reproducible whatever the day of the week they are executed.

    The Unit test fail show an issue: request #9792
    When burndown is in future, and when timezone are different, error are thrown

    With a server in UTC timezone,
    An user in GMT timezone

    Set a new artifact with a burndown field with:
    - today as start_date
    - a duration and a capacity

    A JPGraph error is thrown
    Trackers
    development
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-01-07
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes