Summary
The creator list endpoint accepts a limit query parameter but has no integration test confirming the returned result count never exceeds it. A test should call the endpoint with several limit values and assert the response respects the cap.
Scope
- Seed 20 creators in the database
- Call the endpoint with
limit=5 and assert exactly 5 creators returned
- Call with
limit=10 and assert exactly 10 returned
- Call with
limit=100 (above the seed count) and assert exactly 20 returned
- Assert
has_more is true for the first two calls and false for the last
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The creator list endpoint accepts a
limitquery parameter but has no integration test confirming the returned result count never exceeds it. A test should call the endpoint with several limit values and assert the response respects the cap.Scope
limit=5and assert exactly 5 creators returnedlimit=10and assert exactly 10 returnedlimit=100(above the seed count) and assert exactly 20 returnedhas_moreis true for the first two calls and false for the lastAcceptance Criteria
has_morecorrect for each limit scenarioETA: 12 hours
Coordinate on Telegram