feat(torn-api): add chrono for datetime support

This commit is contained in:
Pyrite 2025-05-24 14:35:56 +02:00
parent 5076a5d733
commit 8ecd9a88d3
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
7 changed files with 741 additions and 22 deletions

View file

@ -366,6 +366,15 @@ pub(super) mod test {
faction_scope.lookup(|b| b).await.unwrap();
}
#[tokio::test]
async fn faction_reports() {
let client = test_client().await;
let faction_scope = FactionScope(&client);
faction_scope.reports(|b| b).await.unwrap();
}
#[tokio::test]
async fn forum_categories() {
let client = test_client().await;
@ -954,4 +963,11 @@ pub(super) mod test {
client.user().attacks(|b| b).await.unwrap();
}
#[tokio::test]
async fn user_reports() {
let client = test_client().await;
client.user().reports(|b| b).await.unwrap();
}
}