Skip to content

Add integration test for trending creators endpoint returning creators ordered by 24h volume #628

Description

@Chucks1093

Summary

The trending creators endpoint should order results by 24h trading volume descending. An integration test should seed trade records with known volumes for multiple creators and confirm the response order matches.

Scope

  • Seed three creators with 24h trade volumes of 1000, 500, and 2000 stroops respectively
  • Call the trending endpoint
  • Assert the response order is 2000, 1000, 500
  • Assert each creator entry includes a volume_24h field matching the seeded volume

Acceptance Criteria

  • Creators ordered by 24h volume descending
  • volume_24h field present and correct for each creator
  • Creator with zero 24h trades appears last or is excluded (document which behaviour is expected)
  • Endpoint respects the pagination limit param

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