test: Added in unit tests for TUI support for multiple custom named Servarrs
This commit is contained in:
@@ -96,7 +96,7 @@ mod tests {
|
||||
json!({"testResponse": "response"}),
|
||||
)))
|
||||
});
|
||||
let app_arc = Arc::new(Mutex::new(App::default()));
|
||||
let app_arc = Arc::new(Mutex::new(App::test_default()));
|
||||
|
||||
let result = RadarrRefreshCommandHandler::with(&app_arc, refresh_command, &mut mock_network)
|
||||
.handle()
|
||||
@@ -120,7 +120,7 @@ mod tests {
|
||||
json!({"testResponse": "response"}),
|
||||
)))
|
||||
});
|
||||
let app_arc = Arc::new(Mutex::new(App::default()));
|
||||
let app_arc = Arc::new(Mutex::new(App::test_default()));
|
||||
let refresh_movie_command = RadarrRefreshCommand::Movie { movie_id: 1 };
|
||||
|
||||
let result =
|
||||
|
||||
Reference in New Issue
Block a user