feat(handler): System handler support for Sonarr

This commit is contained in:
2024-12-04 17:04:36 -07:00
parent 1b5d70ae2d
commit 2d251554ad
8 changed files with 1938 additions and 0 deletions
@@ -202,4 +202,23 @@ mod tests {
active_sonarr_block
);
}
#[rstest]
fn test_delegates_system_blocks_to_system_handler(
#[values(
ActiveSonarrBlock::System,
ActiveSonarrBlock::SystemLogs,
ActiveSonarrBlock::SystemQueuedEvents,
ActiveSonarrBlock::SystemTasks,
ActiveSonarrBlock::SystemTaskStartConfirmPrompt,
ActiveSonarrBlock::SystemUpdates
)]
active_sonarr_block: ActiveSonarrBlock,
) {
test_handler_delegation!(
SonarrHandler,
ActiveSonarrBlock::System,
active_sonarr_block
);
}
}