diff --git a/src/cli/sonarr/list_command_handler_tests.rs b/src/cli/sonarr/list_command_handler_tests.rs index c6c8f04..7e71599 100644 --- a/src/cli/sonarr/list_command_handler_tests.rs +++ b/src/cli/sonarr/list_command_handler_tests.rs @@ -193,10 +193,10 @@ mod tests { use crate::cli::sonarr::list_command_handler::{SonarrListCommand, SonarrListCommandHandler}; use crate::cli::CliCommandHandler; use crate::models::sonarr_models::SonarrSerdeable; + use crate::models::Serdeable; use crate::network::sonarr_network::SonarrEvent; use crate::{ app::App, - models::{radarr_models::RadarrSerdeable, Serdeable}, network::{MockNetworkTrait, NetworkEvent}, }; @@ -224,7 +224,7 @@ mod tests { .with(eq::(expected_sonarr_event.into())) .times(1) .returning(|_| { - Ok(Serdeable::Radarr(RadarrSerdeable::Value( + Ok(Serdeable::Sonarr(SonarrSerdeable::Value( json!({"testResponse": "response"}), ))) }); diff --git a/src/cli/sonarr/mod.rs b/src/cli/sonarr/mod.rs index 1cf214d..1cb1e42 100644 --- a/src/cli/sonarr/mod.rs +++ b/src/cli/sonarr/mod.rs @@ -118,7 +118,7 @@ pub enum SonarrCommand { #[arg(long, help = "The ID of the indexer to test", required = true)] indexer_id: i64, }, - #[command(about = "Test all Radarr indexers")] + #[command(about = "Test all Sonarr indexers")] TestAllIndexers, }