•  
      request #45252 Broken SeatManagement expiration feedback test
    Infos
    #45252
    Kevin Traini (ktraini)
    2025-10-29 15:52
    2025-10-29 14:42
    46970
    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

    Follow-ups