2023-01-08 04:20:23 +00:00
|
|
|
mod testutils;
|
|
|
|
use riven::consts::*;
|
2024-01-21 03:41:46 +00:00
|
|
|
use testutils::*;
|
2023-01-08 04:20:23 +00:00
|
|
|
|
|
|
|
const ROUTE: PlatformRoute = PlatformRoute::PH2;
|
|
|
|
|
2024-02-25 04:50:00 +00:00
|
|
|
#[riven_test]
|
2024-02-24 17:28:33 +00:00
|
|
|
async fn status() -> Result<(), String> {
|
2024-02-24 17:46:11 +00:00
|
|
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
2024-02-24 17:28:33 +00:00
|
|
|
let status = p.await.map_err(|e| e.to_string())?;
|
2024-03-05 18:07:19 +00:00
|
|
|
let _ = status;
|
2024-02-24 17:28:33 +00:00
|
|
|
Ok(())
|
2023-01-08 04:20:23 +00:00
|
|
|
}
|