feedsignal/crates
Austin Schaefer 8edffe8973 Add unit tests for list_ranked_articles' feed_id filtering
The sidebar's per-feed nav depends on this query correctly scoping to
one feed (or joining all of them when feed_id is None), and it's real
branching logic rather than a passthrough — exactly what the updated
Definition of Done's testing rule calls for.

Uses a throwaway SQLite file per test (migrated fresh, cleaned up via
Drop) rather than a shared fixture, since diesel-async's bb8 pool would
otherwise hand out per-connection ":memory:" databases that don't share
state.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PqTJmazHBQK878vjQ4JnnF
2026-09-03 17:04:01 +02:00
..
core chore: Use valid license SPDX id. Revert logic refactor. 2026-08-21 14:03:10 +02:00
db Add unit tests for list_ranked_articles' feed_id filtering 2026-09-03 17:04:01 +02:00
feeds Split has_content test into three cases per reviewer request 2026-08-21 15:38:52 +02:00
llm Apply cargo fmt across the workspace 2026-08-21 13:10:08 +02:00
web Add feed sidebar navigation, built from Dioxus's component library 2026-09-03 16:28:22 +02:00