mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 10:56:34 +00:00
test: stop print spamming platform data tests
This commit is contained in:
parent
d46767cf3d
commit
ff6a3af9e1
5 changed files with 5 additions and 5 deletions
|
@ -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 a new issue