fix(cli): Corrected some copy/paste typos

This commit is contained in:
2024-11-25 16:43:29 -07:00
parent c7a0e33485
commit ad0b3989ed
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -193,10 +193,10 @@ mod tests {
use crate::cli::sonarr::list_command_handler::{SonarrListCommand, SonarrListCommandHandler}; use crate::cli::sonarr::list_command_handler::{SonarrListCommand, SonarrListCommandHandler};
use crate::cli::CliCommandHandler; use crate::cli::CliCommandHandler;
use crate::models::sonarr_models::SonarrSerdeable; use crate::models::sonarr_models::SonarrSerdeable;
use crate::models::Serdeable;
use crate::network::sonarr_network::SonarrEvent; use crate::network::sonarr_network::SonarrEvent;
use crate::{ use crate::{
app::App, app::App,
models::{radarr_models::RadarrSerdeable, Serdeable},
network::{MockNetworkTrait, NetworkEvent}, network::{MockNetworkTrait, NetworkEvent},
}; };
@@ -224,7 +224,7 @@ mod tests {
.with(eq::<NetworkEvent>(expected_sonarr_event.into())) .with(eq::<NetworkEvent>(expected_sonarr_event.into()))
.times(1) .times(1)
.returning(|_| { .returning(|_| {
Ok(Serdeable::Radarr(RadarrSerdeable::Value( Ok(Serdeable::Sonarr(SonarrSerdeable::Value(
json!({"testResponse": "response"}), json!({"testResponse": "response"}),
))) )))
}); });
+1 -1
View File
@@ -118,7 +118,7 @@ pub enum SonarrCommand {
#[arg(long, help = "The ID of the indexer to test", required = true)] #[arg(long, help = "The ID of the indexer to test", required = true)]
indexer_id: i64, indexer_id: i64,
}, },
#[command(about = "Test all Radarr indexers")] #[command(about = "Test all Sonarr indexers")]
TestAllIndexers, TestAllIndexers,
} }