From a11b6874f63ace17052ef922f2061e1dd0e3fed4 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sat, 18 Feb 2023 12:13:41 -0800 Subject: [PATCH] Fix tft doubleup test --- riven/tests/tests_na.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/riven/tests/tests_na.rs b/riven/tests/tests_na.rs index 41e14fa..c813d64 100644 --- a/riven/tests/tests_na.rs +++ b/riven/tests/tests_na.rs @@ -49,8 +49,9 @@ async_tests!{ }, // TO TEST THIS BUG: https://github.com/RiotGames/developer-relations/issues/572. + // summoner must have double-up rank. league_getforsummoner_tftbug: async { - const SUMMONER_NAME: &'static str = "LE ANTIFRAGILE"; + const SUMMONER_NAME: &'static str = "rebocca"; let summoner_fut = RIOT_API.summoner_v4().get_by_summoner_name(ROUTE, SUMMONER_NAME); let summoner = summoner_fut.await.map_err(|e| e.to_string())?.ok_or_else(|| format!("Failed to get \"{}\"", SUMMONER_NAME))?; let league_fut = RIOT_API.league_v4().get_league_entries_for_summoner(ROUTE, &*summoner.id);