feat(readarr): add the history handler

This commit is contained in:
Dark-Alex-17 committed 2026-09-04 00:22:04 -06:00
1 parent adf0896b7d
commit bad43d1383
4 files changed
+448 -1

No files matched your search

@@ -210,4 +210,24 @@ mod tests {
active_readarr_block
);
}
#[rstest]
fn test_delegates_history_blocks_to_history_handler(
#[values(
ActiveReadarrBlock::History,
ActiveReadarrBlock::HistoryItemDetails,
ActiveReadarrBlock::HistorySortPrompt,
ActiveReadarrBlock::SearchHistory,
ActiveReadarrBlock::SearchHistoryError,
ActiveReadarrBlock::FilterHistory,
ActiveReadarrBlock::FilterHistoryError
)]
active_readarr_block: ActiveReadarrBlock,
) {
test_handler_delegation!(
ReadarrHandler,
ActiveReadarrBlock::History,
active_readarr_block
);
}
}