diff --git a/test.bash b/test.bash new file mode 100644 index 0000000..e618e4c --- /dev/null +++ b/test.bash @@ -0,0 +1,2 @@ +#!/bin/bash +RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 cargo test --features nightly diff --git a/tests/tests_na.rs b/tests/tests_na.rs index 879909a..6d952d2 100644 --- a/tests/tests_na.rs +++ b/tests/tests_na.rs @@ -73,5 +73,11 @@ async_tests!{ rassert!(!m.participants.is_empty(), "Match should have participants."); Ok(()) }, + // LOR + lor_ranked_get_leaderboards: async { + let future = RIOT_API.lor_ranked_v1().get_leaderboards(Region::AMERICAS); + let _leaderboard = future.await.map_err(|e| e.to_string())?; + Ok(()) + }, } }