From 8d7f51117137b31d7bde8209fe8104f42f830d87 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Thu, 14 Mar 2024 23:26:17 -0700 Subject: [PATCH] Test spectator endpoints on `TR` as well --- riven/tests/tests_tr.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/riven/tests/tests_tr.rs b/riven/tests/tests_tr.rs index 316cdb3..c0d7d01 100644 --- a/riven/tests/tests_tr.rs +++ b/riven/tests/tests_tr.rs @@ -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 +}