test: stop print spamming platform data tests

This commit is contained in:
Mingwei Samuel 2024-03-05 10:07:19 -08:00
parent d46767cf3d
commit ff6a3af9e1
5 changed files with 5 additions and 5 deletions

View file

@ -122,6 +122,6 @@ async fn clash_get_team_by_id_invalid() -> Result<(), String> {
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())?;
println!("{:?}", status);
let _ = status;
Ok(())
}

View file

@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::PH2;
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())?;
println!("{:?}", status);
let _ = status;
Ok(())
}

View file

@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::SG2;
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())?;
println!("{:?}", status);
let _ = status;
Ok(())
}

View file

@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::TH2;
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())?;
println!("{:?}", status);
let _ = status;
Ok(())
}

View file

@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::VN2;
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())?;
println!("{:?}", status);
let _ = status;
Ok(())
}