Riven/riven/tests/tests_vn2.rs
2024-02-24 09:46:11 -08:00

13 lines
335 B
Rust

mod testutils;
use riven::consts::*;
use testutils::*;
const ROUTE: PlatformRoute = PlatformRoute::VN2;
#[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(())
}