fix(sonarr): Pass the search query directly to the networking channel when searching for a new series

This commit is contained in:
2024-12-18 00:49:36 -07:00
parent ec8d748991
commit 1193b8c848
6 changed files with 70 additions and 160 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::SearchNewSeries(Some(expected_search_query)).into(),
SonarrEvent::SearchNewSeries(expected_search_query).into(),
))
.times(1)
.returning(|_| {