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