Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: ffcfa50d34916dec9ffd1e83f9814db095db072a https://github.com/xwiki/xwiki-platform/commit/ffcfa50d34916dec9ffd1e83f9814... Author: Vincent Massol <[email protected]> Date: 2026-09-08 (Tue, 08 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/doc/XWikiDocumentTest.java Log Message: ----------- [Misc] Fix flickering XWikiDocumentTest#applyWithoutModification added by XWIKI-24792 * Pin the dates of the documents built by createDocumentToApply(): a new XWikiDocument initializes its update, content update and creation dates to the current time truncated to the second, and XWikiDocument#equals() compares all three. The test therefore failed whenever the two createDocumentToApply() calls it compares happened on either side of a second boundary, since XWikiDocument#apply() never touches those dates. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 14b7a6735d162d116a6de691949dd2f9bb1e3a02) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications