mirror of https://github.com/MingweiSamuel/Riven
Add an example test for `ParticipantMissions` returning PascalCase #65
parent
276da10930
commit
3d408d99ba
|
@ -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 New Issue