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::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::<NetworkEvent>(expected_sonarr_event.into()))
.times(1)
.returning(|_| {
Ok(Serdeable::Radarr(RadarrSerdeable::Value(
Ok(Serdeable::Sonarr(SonarrSerdeable::Value(
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)]
indexer_id: i64,
},
#[command(about = "Test all Radarr indexers")]
#[command(about = "Test all Sonarr indexers")]
TestAllIndexers,
}