refactor: Removed unnecessary clone call from extract_and_add_tag_ids_vec method

This commit is contained in:
2025-01-18 14:15:52 -07:00
parent fda69178b9
commit 184bd2b510
4 changed files with 22 additions and 36 deletions
+3 -3
View File
@@ -3867,7 +3867,7 @@ mod test {
#[tokio::test]
async fn test_extract_and_add_radarr_tag_ids_vec() {
let app_arc = Arc::new(Mutex::new(App::default()));
let tags = " test,HI ,, usenet ".to_owned();
let tags = " test,HI ,, usenet ";
{
let mut app = app_arc.lock().await;
app.data.radarr_data.tags_map = BiMap::from_iter([
@@ -3896,11 +3896,11 @@ mod test {
None,
)
.await;
let tags = "usenet, test, TESTING".to_owned();
let tags = "usenet, test, TESTING";
{
let mut app = app_arc.lock().await;
app.data.radarr_data.edit_movie_modal = Some(EditMovieModal {
tags: tags.clone().into(),
tags: tags.into(),
..EditMovieModal::default()
});
app.data.radarr_data.tags_map =