Skip to content

Add integration test for fan portfolio endpoint aggregating holdings across multiple creators #601

Description

@Chucks1093

Summary

The fan portfolio endpoint should aggregate a wallet's holdings across all creators it holds keys for. An integration test should seed holdings for multiple creators and confirm the portfolio response includes each one with correct quantities and total values.

Scope

  • Seed a wallet with holdings in three different creators at different quantities
  • Call the fan portfolio endpoint for that wallet
  • Assert all three creators appear in the response with correct quantity and total_value fields
  • Assert a creator not held by the wallet does not appear in the response

Acceptance Criteria

  • All three held creators present in portfolio response
  • quantity and total_value correct for each creator
  • Creator not held by wallet absent from response
  • Response includes a grand_total field summing all total_value entries

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