fix(cli): Corrected some copy/paste typos
This commit is contained in:
@@ -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"}),
|
||||||
)))
|
)))
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user