fix(sonarr): Pass the download ID alongside all DeleteDownload events published to the networking channel

This commit is contained in:
2024-12-17 22:27:08 -07:00
parent 906e093152
commit 6c5a73f78f
8 changed files with 57 additions and 68 deletions
@@ -332,7 +332,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::DeleteDownload(Some(expected_download_id)).into(),
SonarrEvent::DeleteDownload(expected_download_id).into(),
))
.times(1)
.returning(|_| {