Commit Graph

22 Commits (c25b54696806caab7acfe7ceffc46730a6006879)

Author SHA1 Message Date
Mingwei Samuel ccf62464fd Improve error messages for spectator tests 2024-03-14 23:55:02 -07:00
Mingwei Samuel d43ba94222 Move spectator tests into testutils, add `spectator-tft-v5` tests 2024-03-14 23:26:28 -07:00
Mingwei Samuel 95c3ccbe0b fix: regen, updates to fix bad match data
https://github.com/RiotGames/developer-relations/issues/898
2024-03-05 11:31:06 -08:00
Mingwei Samuel 2f54bb6381 feat: add wasm testing (#63) 2024-02-24 21:42:06 -08:00
Mingwei Samuel 092ea34358 chore: replace `lazy_static` with std `OnceLock` 2024-02-24 09:46:11 -08:00
Mingwei Samuel 101633bb47 test: use `#[tokio_shared_rt::test]` instead of custom macro
`env_logger::init()` moved into `RIOT_API` static initializer
2024-02-24 09:28:36 -08:00
Mingwei Samuel 8d810ccca8 Add rustfmt.toml 2024-01-20 19:41:46 -08:00
Mingwei Samuel 4391d214aa add test for LeagueV4 RU d3atomiz3d `"CHERRY"` `QueueType` 2024-01-04 09:57:50 -08:00
Mingwei Samuel dd77ffa6dd Allow multiple error message output from `match_v5_get[_timeline]` test helpers 2023-11-15 11:00:19 -08:00
Mingwei Samuel 2aa493abfe Regen for Naafiri, removed champion-mastery-v4 by-puuid endpoints, off-season nullables 2023-07-19 13:51:58 -07:00
Mingwei Samuel d15d43797e make league_v4_match_v5_latest_combo test easier to diagnose 2023-07-19 13:15:19 -07:00
Mingwei Samuel cb5bd58784 cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
Mingwei Samuel 26adf882fb Adjust `match-v5` test for only one team's participants' IDs being returned 2023-04-01 22:38:33 -07:00
Mingwei Samuel ac46e74de4 Print `matchId` when tests fails 2023-04-01 22:38:33 -07:00
Mingwei Samuel 32fe532f07 Add test to fetch latest matches from JP 2023-03-20 22:26:00 -07:00
Mingwei Samuel d05b068bb8 Remove unused key-specific IDs in testutils 2023-03-20 21:58:31 -07:00
Mingwei Samuel 7f0b63bf92 Consolidate EUW TFT tests, failing
Add test for https://github.com/MingweiSamuel/Riven/issues/50
2023-03-08 13:49:53 -08:00
Mingwei Samuel d05f89c0d4 Fix parsing of Champion, improve error handling 2021-12-29 11:53:15 -08:00
Mingwei Samuel de1e5cdbca Regen for match-v5.ParticipantDto optionals, consolidate/add match tests w/ invalid champion IDs 2021-12-29 10:50:13 -08:00
Mingwei Samuel 0b16c2a385 Cleanup per clippy recommendations 2021-10-29 22:38:48 -07:00
Mingwei Samuel 1a0ae872f5 Add RiotApi::new(impl Into<RiotApiConfig>), deprecate old constructors, update docs
- Adds `From<AsRef<[u8]>> for RiotApiConfig` for API keys for the above.
2021-09-19 11:22:59 -07:00
Mingwei Samuel 74eb5fa045 Update example proxy for v2, use workspaces.
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00