Commit Graph

80 Commits (4f5e01e8470dc82a3c6625d3e9054002df4efa0f)

Author SHA1 Message Date
Mingwei Samuel 4f5e01e847 test: Add `EUW1_6852390800` to match test
https://github.com/MingweiSamuel/riotapi-schema/issues/45
2024-03-15 14:58:59 -07:00
Mingwei Samuel ccf62464fd Improve error messages for spectator tests 2024-03-14 23:55:02 -07:00
Mingwei Samuel 8d7f511171 Test spectator endpoints on `TR` as well 2024-03-14 23:26:28 -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 a1dab5e59b test: remove archived TFT `EUW1_6307427444`, `EUW1_6307262798` matches 2024-03-13 14:59:24 -07:00
Mingwei Samuel 1ce54275ce test: remove expired `NA1_4265913704` match test 2024-03-08 11:01:14 -08: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 ff6a3af9e1 test: stop print spamming platform data tests 2024-03-05 10:07:56 -08:00
Mingwei Samuel d46767cf3d test: add `Abort_Unexpected` test games, failing 2024-03-04 15:15:40 -08:00
Mingwei Samuel d67fee6328 test: add test for spectator-v5 2024-03-04 15:04:11 -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 4c9952b385 Update tests for new `endOfGameResult` fields 2024-02-16 15:57:44 -08:00
Mingwei Samuel 416140c41d Add tests for #62
https://github.com/MingweiSamuel/riotapi-schema/pull/43
2024-01-27 17:22:22 -08:00
Mingwei Samuel 8d810ccca8 Add rustfmt.toml 2024-01-20 19:41:46 -08:00
Mingwei Samuel 83d7fc3001 fix typo in tournament-stub-v5 test 2024-01-20 19:16:43 -08:00
Mingwei Samuel af759728e3 Re-enable, update `spectator-v4` test 2024-01-15 12:01:32 -08:00
Mingwei Samuel 4391d214aa add test for LeagueV4 RU d3atomiz3d `"CHERRY"` `QueueType` 2024-01-04 09:57:50 -08:00
Mingwei Samuel 13a06b224a Update champion-master-v4 tests to use puuid 2023-12-26 22:21:47 -08:00
Mingwei Samuel ce2cd7c7a2 Add match test for new `match-v5.ParticipantDto.riotIdGameName` field 2023-11-22 09:37:27 -08:00
Mingwei Samuel 09f0f2562b Add new match to `tests_asia_jp.rs` 2023-11-15 11:20:54 -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 a9a0990d5c Remove archived match `NA1_4097036960` test 2023-11-15 10:48:30 -08:00
Mingwei Samuel c449a4fc52 Add `account-v1` `getByRiotId` and `getByPuuid` tests 2023-11-15 10:46:27 -08:00
Mingwei Samuel dc73fcbf46 update tests from tournament_v4 to tournament_v5 2023-10-17 23:03:21 -07:00
Mingwei Samuel bd76b24b2b Comment-out/replace broken `champion-mastery-v4.getChampionMasteryScore` test with PUUID version
https://github.com/RiotGames/developer-relations/issues/830
2023-10-13 11:37:52 -07:00
Mingwei Samuel 56b75ace18 Remove tft bug test, fixed Oct 3
https://github.com/RiotGames/developer-relations/issues/572#issuecomment-1718327573
2023-10-13 11:23:00 -07:00
Mingwei Samuel c4a9993ac2 Remove tests on archived matches
Also adds `--no-fail-fast` to tests
2023-10-13 11:09:26 -07:00
Mingwei Samuel e67ffff627 Improved error message for `val-content-v1` 2023-09-21 23:30:27 -07:00
Mingwei Samuel 9b08e058b7 update tft bug test, Riot will make the breaking fix on Oct 3
https://twitter.com/RiotGamesDevRel/status/1701723426178650191
2023-09-16 18:10:34 -07:00
Mingwei Samuel c58da65298 Remove more old archived match IDs in `test_asia_jp` 2023-09-05 00:37:38 -07:00
Mingwei Samuel ac76a87367 Remove old archived match IDs, add some new EUW1 match IDs 2023-08-27 13:29:04 -07:00
Mingwei Samuel 800f9c83f4 Add new Arena 2v2v2v2 `CHERRY` game mode, tests 2023-07-22 22:07:25 -07: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 9a2e5277c1 update tftbug test 2023-06-16 23:23:53 -07:00
Mingwei Samuel 3253fa4ec2 update tft tests 2023-06-16 23:23:53 -07:00
Mingwei Samuel bf51ba0a83 Regenerate for new `champion-mastery-v4` PUUID methods, new `match-v5.ParticipantDto` fields
New `champion-mastery-v4` endpoints:
* `getAllChampionMasteriesByPUUID`
* `getChampionMasteryByPUUID`
* `getTopChampionMasteriesByPUUID`
* `getChampionMasteryScoreByPUUID`

New fields: `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
2023-06-16 12:06:40 -07:00
Mingwei Samuel 3070216709 Regen for new `match-v5.ParticipantChallenges.twoWardsOneSweeperCount` field 2023-05-29 19:56:31 -07:00
Mingwei Samuel 4b3afbd8ab Add extra `champion-mastery-v4` test for user w/o new `puuid` field 2023-05-15 09:15:53 -07:00
Mingwei Samuel cb5bd58784 cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
Mingwei Samuel e53d78c807 cargo fmt 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 fa3e7a4bab Update `league_getforsummoner_tftbug` test 2023-04-01 21:47:05 -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 9f5b12cd1b Re-add tft tests, failing 2023-03-08 11:51:31 -08:00