Add an example test for `ParticipantMissions` returning PascalCase #65

reqwest-12
Jeffrey Dallatezza 2024-03-18 16:38:40 -07:00 committed by Mingwei Samuel
parent 276da10930
commit 3d408d99ba
1 changed files with 20 additions and 0 deletions

20
riven/tests/tests_sea.rs Normal file
View 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
}