fix: update test_top_authors for new person_id return field

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 03:41:57 +01:00
parent b10572c628
commit 4a368bde62

View File

@@ -280,5 +280,5 @@ def test_top_authors(seeded_db):
# Alice and Bob each have 2 drafts, Carol has 2 as well # Alice and Bob each have 2 drafts, Carol has 2 as well
assert len(top) > 0 assert len(top) > 0
# First author should have most drafts # First author should have most drafts
name, aff, count, draft_names = top[0] name, aff, count, draft_names, person_id = top[0]
assert count >= 2 assert count >= 2