diff --git a/tests/common/contexts/torrent/file.rs b/tests/common/contexts/torrent/file.rs index 5d8a541a..d9d3783f 100644 --- a/tests/common/contexts/torrent/file.rs +++ b/tests/common/contexts/torrent/file.rs @@ -8,6 +8,7 @@ use serde::Deserialize; use which::which; /// Attributes parsed from a torrent file. +#[allow(dead_code)] #[derive(Deserialize, Clone, Debug)] pub struct TorrentFileInfo { pub name: String, diff --git a/tests/common/contexts/torrent/fixtures.rs b/tests/common/contexts/torrent/fixtures.rs index e60b6089..b085ddec 100644 --- a/tests/common/contexts/torrent/fixtures.rs +++ b/tests/common/contexts/torrent/fixtures.rs @@ -40,6 +40,7 @@ impl From for UploadTorrentMultipartForm { } /// Torrent that has been added to the index. +#[allow(dead_code)] pub struct TorrentListedInIndex { pub torrent_id: Id, pub title: String, diff --git a/tests/common/contexts/user/responses.rs b/tests/common/contexts/user/responses.rs index 1a9a3837..f917be18 100644 --- a/tests/common/contexts/user/responses.rs +++ b/tests/common/contexts/user/responses.rs @@ -1,10 +1,12 @@ use serde::Deserialize; +#[allow(dead_code)] #[derive(Deserialize, Debug)] pub struct AddedUserResponse { pub data: NewUserData, } +#[allow(dead_code)] #[derive(Deserialize, Debug)] pub struct NewUserData { pub user_id: i64,