mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 10:56:34 +00:00
test: add basic me1
platform tests
This commit is contained in:
parent
4c68e799b1
commit
ae37b8f164
1 changed files with 23 additions and 0 deletions
23
riven/tests/tests_me1.rs
Normal file
23
riven/tests/tests_me1.rs
Normal file
|
@ -0,0 +1,23 @@
|
|||
mod testutils;
|
||||
use riven::consts::*;
|
||||
use testutils::*;
|
||||
|
||||
const ROUTE: PlatformRoute = PlatformRoute::ME1;
|
||||
|
||||
#[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(())
|
||||
}
|
||||
|
||||
#[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
|
||||
}
|
Loading…
Reference in a new issue