Riven/riven/tests/tests_sg2.rs

14 lines
333 B
Rust
Raw Normal View History

mod testutils;
use riven::consts::*;
2024-01-21 03:41:46 +00:00
use testutils::*;
const ROUTE: PlatformRoute = PlatformRoute::SG2;
#[tokio_shared_rt::test]
async fn status() -> Result<(), String> {
let p = RIOT_API.lol_status_v4().get_platform_data(ROUTE);
let status = p.await.map_err(|e| e.to_string())?;
println!("{:?}", status);
Ok(())
}