fix(sonarr): Pass the episode ID alongside all TriggerAutomaticEpisodeSearch events when publishing to the networking channel

This commit is contained in:
2024-12-18 01:29:30 -07:00
parent c16ecfb188
commit b12c635c27
8 changed files with 96 additions and 70 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::TriggerAutomaticEpisodeSearch(Some(expected_episode_id)).into(),
SonarrEvent::TriggerAutomaticEpisodeSearch(expected_episode_id).into(),
))
.times(1)
.returning(|_| {