Skip to content

Add integration test for holdings endpoint returning entries sorted by total value descending #516

Description

@Chucks1093

Summary

The wallet holdings response should be sorted by total holding value descending by default so the most valuable position appears first. An integration test with holdings of different values should confirm this ordering.

Scope

  • Seed a wallet with three creator holdings of different values (balance × price)
  • Call GET /wallets/:address/holdings with no sort param
  • Assert entries are ordered highest total value first

Acceptance Criteria

  • Default sort is total value descending
  • Entry with highest value appears first
  • Entry with lowest value appears last

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions