test: Updated Rust edition to 2024 and refactored network module tests to be more idiomatic

This commit is contained in:
Dark-Alex-17 committed 2025-12-03 14:49:27 -07:00
1 parent c4e8d64710
commit ad58912baf
257 files changed
+4033 -4380

No files matched your search

+1 -1
View File
@@ -4,6 +4,7 @@ mod tests {
use serde_json::json;
use crate::models::{
Serdeable,
radarr_models::{
AddMovieSearchResult, BlocklistItem, BlocklistResponse, Collection, Credit, DiskSpace,
DownloadRecord, DownloadsResponse, Indexer, IndexerSettings, IndexerTestResult,
@@ -11,7 +12,6 @@ mod tests {
RadarrSerdeable, RadarrTask, RadarrTaskName, SystemStatus, Tag, Update,
},
servarr_models::{HostConfig, Log, LogResponse, QueueEvent, RootFolder, SecurityConfig},
Serdeable,
};
#[test]