refactor: Improved and simplified the implementation of history details for both Sonarr and Lidarr

This commit is contained in:
Dark-Alex-17 committed 2026-01-13 12:36:21 -07:00
1 parent ad9e2b3671
commit e1a25bfaf2
18 files changed
+377 -486

No files matched your search

@@ -173,7 +173,7 @@ mod tests {
panic!("Expected LidarrHistoryWrapper")
};
mock.assert_async().await;
assert!(app.lock().await.data.lidarr_data.history.is_empty());
assert_is_empty!(app.lock().await.data.lidarr_data.history);
assert!(app.lock().await.data.lidarr_data.history.sort_asc);
assert_eq!(history, response);
}
@@ -194,6 +194,6 @@ mod tests {
.await;
mock.assert_async().await;
assert!(result.is_ok());
assert_ok!(result);
}
}