feat(readarr): add the downloads handler
This commit is contained in:
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
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user