From 3d408d99ba97ad8db454447260eb968d7db65069 Mon Sep 17 00:00:00 2001 From: Jeffrey Dallatezza Date: Mon, 18 Mar 2024 16:38:40 -0700 Subject: [PATCH] Add an example test for `ParticipantMissions` returning PascalCase #65 --- riven/tests/tests_sea.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 riven/tests/tests_sea.rs diff --git a/riven/tests/tests_sea.rs b/riven/tests/tests_sea.rs new file mode 100644 index 0000000..7db1329 --- /dev/null +++ b/riven/tests/tests_sea.rs @@ -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 +}