chore(torn-api): version 4.2.0

This commit is contained in:
pyrite 2025-09-19 13:14:04 +02:00
parent 5c138d94d0
commit 3d80414441
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
4 changed files with 626 additions and 57 deletions

View file

@ -9,12 +9,14 @@ pub(super) mod test {
use crate::{
executor::{ExecutorExt, ReqwestClient},
models::{
faction_selection_name::FactionSelectionNameVariant,
user_selection_name::UserSelectionNameVariant, AttackCode, PersonalStatsCategoryEnum,
PersonalStatsStatName, UserListEnum,
faction_selection_name::FactionSelectionNameVariant, AttackCode,
PersonalStatsCategoryEnum, PersonalStatsStatName, UserListEnum,
},
};
#[cfg(feature = "strum")]
use crate::models::user_selection_name::UserSelectionNameVariant;
use super::*;
static TICKETS: OnceLock<mpsc::Sender<mpsc::Sender<ReqwestClient>>> = OnceLock::new();
@ -499,14 +501,14 @@ pub(super) mod test {
racing_scope.carupgrades(|b| b).await.unwrap();
}
/* #[tokio::test]
#[tokio::test]
async fn racing_races() {
let client = test_client().await;
let racing_scope = RacingScope(&client);
racing_scope.races(|b| b).await.unwrap();
} */
}
#[tokio::test]
async fn racing_race_for_race_id() {
@ -1144,6 +1146,8 @@ pub(super) mod test {
let client = test_client().await;
client.user().profile(|b| b).await.unwrap();
client.user().profile_for_id(4.into(), |b| b).await.unwrap();
}
#[tokio::test]