Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #45252 Broken SeatManagement expiration feedback test
    Infos
    #45252
    Kevin Traini (ktraini)
    2025-10-29 15:52
    2025-10-29 14:42
    47015
    Details
    Broken SeatManagement expiration feedback test

    FeedbackBuilderTest::testAtExpirationDateItShouldAddFeedbackForSiteAdmin is broken due to a problem of time diff.

    The easiest way to fix this is to pass the current datetime to FeedbackBuilder through Psr\Clock\ClockInterface. This way in production code we use the real date and in tests we use a frozen clock with a fixed date

    Empty
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Kevin Traini (ktraini)
    Closed
    2025-10-29
    Attachments
    Empty
    References
    Referenced by request #45252

    Follow-ups