Comment out LOR test due to special API key required

users/mingwei/surf
Mingwei Samuel 2020-03-31 11:50:21 -07:00
parent 01aebf5126
commit 603de367c0
1 changed files with 7 additions and 6 deletions

View File

@ -73,11 +73,12 @@ async_tests!{
rassert!(!m.participants.is_empty(), "Match should have participants."); rassert!(!m.participants.is_empty(), "Match should have participants.");
Ok(()) Ok(())
}, },
// LOR // Commented out, requires special API key.
lor_ranked_get_leaderboards: async { // // LOR
let future = RIOT_API.lor_ranked_v1().get_leaderboards(Region::AMERICAS); // lor_ranked_get_leaderboards: async {
let _leaderboard = future.await.map_err(|e| e.to_string())?; // let future = RIOT_API.lor_ranked_v1().get_leaderboards(Region::AMERICAS);
Ok(()) // let _leaderboard = future.await.map_err(|e| e.to_string())?;
}, // Ok(())
// },
} }
} }