feat(readarr): add the blocklist handler

This commit is contained in:
Dark-Alex-17 committed 2026-09-03 23:54:49 -06:00
1 parent e9d3851db8
commit bd96c4ab23
4 files changed
+874

No files matched your search

@@ -176,4 +176,22 @@ mod tests {
active_readarr_block
);
}
#[rstest]
fn test_delegates_blocklist_blocks_to_blocklist_handler(
#[values(
ActiveReadarrBlock::Blocklist,
ActiveReadarrBlock::BlocklistItemDetails,
ActiveReadarrBlock::DeleteBlocklistItemPrompt,
ActiveReadarrBlock::BlocklistClearAllItemsPrompt,
ActiveReadarrBlock::BlocklistSortPrompt
)]
active_readarr_block: ActiveReadarrBlock,
) {
test_handler_delegation!(
ReadarrHandler,
ActiveReadarrBlock::Blocklist,
active_readarr_block
);
}
}