fix: update test limit to respect MAX_LIMIT=500 (#110)
Closes #110 The test was sending limit=999 which exceeds MAX_LIMIT (500), causing FastAPI to return 422. Changed to limit=500, which is sufficient to cover all seasons for any player. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5b19bd486a
commit
b980367b8c
@ -569,7 +569,7 @@ class TestGroupBySbaPlayer:
|
||||
# Get per-season rows
|
||||
r_seasons = requests.get(
|
||||
f"{api}/api/v3/plays/batting",
|
||||
params={"group_by": "player", "sbaplayer_id": 1, "limit": 999},
|
||||
params={"group_by": "player", "sbaplayer_id": 1, "limit": 500},
|
||||
timeout=15,
|
||||
)
|
||||
assert r_seasons.status_code == 200
|
||||
|
||||
Loading…
Reference in New Issue
Block a user