Files
beads/cmd/bd
Steve Yegge e38c0a58aa test: Refactor duplicates_test.go to use shared DB pattern (P2)
METRICS:
- Tests: 5 tests
- DB setups removed: 1 → 1 shared
- Tests needing DB: 1/5
- Savings: setupTestDB() → newTestStore()

DETAILS:
- TestFindDuplicateGroups: Pure in-memory logic (no DB)
- TestChooseMergeTarget: Pure in-memory logic (no DB)
- TestCountReferences: Pure in-memory logic (no DB)
- TestDuplicateGroupsWithDifferentStatuses: Pure in-memory (no DB)
- TestDuplicatesIntegration: Uses shared DB (was: setupTestDB)

Also fixed: Removed hardcoded IDs, let DB assign them.
All 5 tests pass!

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 16:14:30 -05:00
..
2025-11-20 22:15:04 -05:00
2025-11-09 14:53:59 -08:00
2025-11-17 10:12:46 -07:00
2025-11-09 14:13:48 -08:00
2025-11-20 21:54:11 -05:00
2025-11-09 14:53:59 -08:00
2025-11-17 10:12:46 -07:00
2025-11-20 22:15:04 -05:00