fix(sonarr): pass the series ID alongside all TriggerAutomaticSeriesSearch events when publishing to the networking channel

This commit is contained in:
2024-12-18 01:38:05 -07:00
parent ed645dd0d5
commit 33249f509f
6 changed files with 40 additions and 48 deletions
@@ -166,7 +166,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::TriggerAutomaticSeriesSearch(Some(expected_series_id)).into(),
SonarrEvent::TriggerAutomaticSeriesSearch(expected_series_id).into(),
))
.times(1)
.returning(|_| {