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

This commit is contained in:
Dark-Alex-17 committed 2024-12-18 01:29:30 -07:00
1 parent c16ecfb188
commit b12c635c27
8 files changed
+96 -70

No files matched your search

+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(|_| {