Test spectator endpoints on `TR` as well

reqwest-12
Mingwei Samuel 2024-03-14 23:26:17 -07:00
parent d43ba94222
commit 8d7f511171
1 changed files with 16 additions and 1 deletions

View File

@ -2,7 +2,7 @@ mod testutils;
use futures::future::join_all;
use riven::consts::*;
use riven::models::summoner_v4::Summoner;
use testutils::{riot_api, riven_test};
use testutils::*;
const ROUTE: PlatformRoute = PlatformRoute::TR1;
@ -33,3 +33,18 @@ async fn league_summoner_bulk_test() -> Result<(), String> {
Ok(())
}
#[riven_test]
async fn spectator_v4_combo_test() -> Result<(), String> {
spectator_v4_combo(ROUTE).await
}
#[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
}