Jiang Bohan
ccaa7dc6cf
test(handler): fix timeline test assertions for handler-package isolation
...
The TestListTimeline_* assertions assumed CreateIssue would seed an
"issue_created" activity_log row, but the activity listener that publishes
those rows is registered in cmd/server/main.go — handler-package tests
don't wire it up. CI saw 5 entries (3 comments + 2 activities) where the
test expected ≥6.
Drop the auto-activity assumption: assert exactly 5 entries in
TestListTimeline_MergesCommentsAndActivities, and tighten
TestListTimeline_EmptyIssue to assert a fully-empty timeline.
Co-authored-by: multica-agent <github@multica.ai >
2026-05-09 16:02:05 +08:00
..
2026-05-09 16:02:05 +08:00
2026-05-09 15:57:19 +08:00
2026-04-28 19:21:13 +08:00
2026-05-09 13:12:00 +08:00
2026-04-21 14:42:52 +08:00
2026-05-06 16:16:12 +08:00
2026-04-28 14:50:28 +08:00
2026-05-09 13:12:00 +08:00
2026-05-09 15:46:33 +08:00
2026-05-09 13:12:00 +08:00
2026-05-09 13:12:00 +08:00
2026-05-08 16:12:48 +08:00
2026-04-28 16:07:24 +08:00
2026-05-09 13:12:00 +08:00
2026-04-23 10:35:55 +08:00
2026-04-28 14:50:28 +08:00
2026-04-16 18:01:56 +08:00
2026-05-03 10:49:02 +08:00
2026-04-29 15:54:24 +08:00
2026-05-09 13:12:00 +08:00
2026-05-07 15:50:27 +08:00
2026-05-07 15:50:27 +08:00
2026-05-06 14:31:33 +08:00
2026-04-28 14:50:28 +08:00
2026-05-04 21:24:56 +08:00
2026-05-09 13:12:00 +08:00
2026-04-30 15:35:12 +08:00
2026-03-30 22:37:59 +08:00
2026-05-09 13:12:00 +08:00
2026-04-27 14:23:42 +08:00
2026-04-28 14:50:28 +08:00
2026-05-06 11:01:22 +02:00
2026-04-21 20:32:33 +08:00
2026-05-09 13:12:00 +08:00
2026-04-29 17:07:54 +08:00
2026-04-28 14:50:28 +08:00
2026-05-06 14:09:35 +08:00
2026-04-30 14:00:43 +08:00
2026-05-06 14:09:35 +08:00
2026-04-28 14:50:28 +08:00
2026-05-08 19:14:12 +08:00
2026-05-06 14:31:33 +08:00
2026-05-06 14:31:33 +08:00
2026-04-23 17:07:34 +08:00
2026-04-25 02:06:00 +08:00
2026-04-23 17:07:34 +08:00
2026-04-28 14:50:28 +08:00
2026-05-03 11:13:34 +08:00
2026-05-03 11:13:34 +08:00
2026-05-03 11:13:34 +08:00
2026-05-03 11:13:34 +08:00
2026-05-08 15:35:21 +08:00
2026-05-08 15:35:21 +08:00
2026-05-06 13:00:11 +08:00
2026-05-06 13:00:11 +08:00
2026-05-06 13:00:11 +08:00
2026-05-06 13:00:11 +08:00
2026-05-08 15:35:21 +08:00
2026-04-10 20:59:32 +08:00
2026-04-30 22:34:24 +02:00
2026-05-07 01:36:29 +08:00
2026-05-07 16:28:34 +08:00
2026-05-07 16:28:34 +08:00
2026-04-17 16:26:00 +08:00
2026-04-17 16:26:00 +08:00
2026-05-09 12:46:37 +08:00
2026-04-29 15:54:24 +08:00
2026-04-16 19:06:49 +08:00
2026-05-06 16:16:12 +08:00
2026-05-08 19:14:12 +08:00
2026-04-24 14:29:39 +08:00
2026-04-30 16:05:53 +08:00