diff --git a/riven/tests/tests_na.rs b/riven/tests/tests_na.rs index 233d779..1a0aa85 100644 --- a/riven/tests/tests_na.rs +++ b/riven/tests/tests_na.rs @@ -102,6 +102,7 @@ async fn clash_get_team_by_id_invalid() -> Result<(), String> { Ok(()) } +// STATUS #[riven_test] async fn status() -> Result<(), String> { let p = riot_api().lol_status_v4().get_platform_data(ROUTE); diff --git a/riven/tests/tests_ph2.rs b/riven/tests/tests_ph2.rs deleted file mode 100644 index 639e962..0000000 --- a/riven/tests/tests_ph2.rs +++ /dev/null @@ -1,13 +0,0 @@ -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())?; - let _ = status; - Ok(()) -} diff --git a/riven/tests/tests_sg2.rs b/riven/tests/tests_sg2.rs index 7342be4..bafc7c6 100644 --- a/riven/tests/tests_sg2.rs +++ b/riven/tests/tests_sg2.rs @@ -11,3 +11,13 @@ async fn status() -> Result<(), 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 +} diff --git a/riven/tests/tests_th2.rs b/riven/tests/tests_th2.rs deleted file mode 100644 index 71080ba..0000000 --- a/riven/tests/tests_th2.rs +++ /dev/null @@ -1,23 +0,0 @@ -mod testutils; -use riven::consts::*; -use testutils::*; - -const ROUTE: PlatformRoute = PlatformRoute::TH2; - -#[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 -}