Skip to content

Add integration test for creator list endpoint respecting the limit query parameter #640

Description

@Chucks1093

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

  • Result count never exceeds the requested limit
  • has_more correct for each limit scenario
  • Limit above total seed count returns all records
  • Response structure consistent across all limit values

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions