Riven/riven/tests/tests_th2.rs

24 lines
546 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::TH2;
2024-02-25 04:50:00 +00:00
#[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())?;
let _ = status;
Ok(())
}
2024-03-24 05:18:57 +00: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
}