mirror of https://github.com/MingweiSamuel/Riven
test: stop print spamming platform data tests
parent
d46767cf3d
commit
ff6a3af9e1
|
@ -122,6 +122,6 @@ async fn clash_get_team_by_id_invalid() -> Result<(), String> {
|
||||||
async fn status() -> Result<(), String> {
|
async fn status() -> Result<(), String> {
|
||||||
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
||||||
let status = p.await.map_err(|e| e.to_string())?;
|
let status = p.await.map_err(|e| e.to_string())?;
|
||||||
println!("{:?}", status);
|
let _ = status;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::PH2;
|
||||||
async fn status() -> Result<(), String> {
|
async fn status() -> Result<(), String> {
|
||||||
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
||||||
let status = p.await.map_err(|e| e.to_string())?;
|
let status = p.await.map_err(|e| e.to_string())?;
|
||||||
println!("{:?}", status);
|
let _ = status;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::SG2;
|
||||||
async fn status() -> Result<(), String> {
|
async fn status() -> Result<(), String> {
|
||||||
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
||||||
let status = p.await.map_err(|e| e.to_string())?;
|
let status = p.await.map_err(|e| e.to_string())?;
|
||||||
println!("{:?}", status);
|
let _ = status;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::TH2;
|
||||||
async fn status() -> Result<(), String> {
|
async fn status() -> Result<(), String> {
|
||||||
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
||||||
let status = p.await.map_err(|e| e.to_string())?;
|
let status = p.await.map_err(|e| e.to_string())?;
|
||||||
println!("{:?}", status);
|
let _ = status;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ const ROUTE: PlatformRoute = PlatformRoute::VN2;
|
||||||
async fn status() -> Result<(), String> {
|
async fn status() -> Result<(), String> {
|
||||||
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
let p = riot_api().lol_status_v4().get_platform_data(ROUTE);
|
||||||
let status = p.await.map_err(|e| e.to_string())?;
|
let status = p.await.map_err(|e| e.to_string())?;
|
||||||
println!("{:?}", status);
|
let _ = status;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue