From 385a282db471ce13d25063761386412aca4fc4dc Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 29 Sep 2026 16:30:31 +0200 Subject: [PATCH] test(export): set creation date on comments in UserExportTest Comment::jsonSerialize() now includes creation_time and throws when no creation date is set, which broke both UserExportTest cases. Signed-off-by: Jonas Assisted-by: ClaudeCode:claude-opus-5.5 --- tests/unit/Command/UserExportTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/Command/UserExportTest.php b/tests/unit/Command/UserExportTest.php index 9baf07a07..7219b5eef 100644 --- a/tests/unit/Command/UserExportTest.php +++ b/tests/unit/Command/UserExportTest.php @@ -98,6 +98,7 @@ public function getComment($id) { $comment = new Comment(); $comment->setActor('users', 'admin'); $comment->setMessage('fake comment' . $id); + $comment->setCreationDateTime(new \DateTime('2026-01-01T00:00:00+00:00')); return $comment; }