fix(sonarr): Pass the root folder ID alongside all DeleteRootFolder events when publishing to the networking channel

This commit is contained in:
2024-12-17 22:42:37 -07:00
parent db64a0968b
commit fedb78fb88
6 changed files with 47 additions and 59 deletions
@@ -410,7 +410,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::DeleteRootFolder(Some(expected_root_folder_id)).into(),
SonarrEvent::DeleteRootFolder(expected_root_folder_id).into(),
))
.times(1)
.returning(|_| {