mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 02:46:31 +00:00
Add an example test for ParticipantMissions
returning PascalCase #65
This commit is contained in:
parent
276da10930
commit
3d408d99ba
1 changed files with 20 additions and 0 deletions
20
riven/tests/tests_sea.rs
Normal file
20
riven/tests/tests_sea.rs
Normal file
|
@ -0,0 +1,20 @@
|
|||
mod testutils;
|
||||
use riven::consts::*;
|
||||
use testutils::*;
|
||||
|
||||
const ROUTE: RegionalRoute = RegionalRoute::SEA;
|
||||
|
||||
static MATCHES: &[&str] = &[
|
||||
// https://github.com/MingweiSamuel/Riven/issues/65
|
||||
"TH2_24825892",
|
||||
];
|
||||
|
||||
#[riven_test]
|
||||
async fn match_v5_get_test() -> Result<(), String> {
|
||||
match_v5_get(ROUTE, MATCHES).await
|
||||
}
|
||||
|
||||
#[riven_test]
|
||||
async fn match_v5_get_timeline_test() -> Result<(), String> {
|
||||
match_v5_get_timeline(ROUTE, MATCHES).await
|
||||
}
|
Loading…
Reference in a new issue