feat(readarr): add the downloads handler

This commit is contained in:
Dark-Alex-17 committed 2026-09-04 00:07:33 -06:00
1 parent bd96c4ab23
commit adf0896b7d
4 files changed
+694

No files matched your search

@@ -194,4 +194,20 @@ mod tests {
active_readarr_block
);
}
#[rstest]
fn test_delegates_downloads_blocks_to_downloads_handler(
#[values(
ActiveReadarrBlock::Downloads,
ActiveReadarrBlock::DeleteDownloadPrompt,
ActiveReadarrBlock::UpdateDownloadsPrompt
)]
active_readarr_block: ActiveReadarrBlock,
) {
test_handler_delegation!(
ReadarrHandler,
ActiveReadarrBlock::Downloads,
active_readarr_block
);
}
}