mirror of https://github.com/MingweiSamuel/Riven
14 lines
324 B
Rust
14 lines
324 B
Rust
mod testutils;
|
|
use riven::consts::*;
|
|
use testutils::*;
|
|
|
|
const ROUTE: PlatformRoute = PlatformRoute::PH2;
|
|
|
|
#[riven_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(())
|
|
}
|