Skip to content

Add helper for building expected event payload struct in test assertions #349

@Chucks1093

Description

@Chucks1093

Summary
Test assertions on event payloads currently construct the expected payload inline with individual field assignments. A builder helper that constructs the full expected payload struct from named parameters makes assertions more readable and easier to update when the schema changes.

Scope

  • add a test helper that builds a complete expected event payload struct from named parameters
  • use the helper in at least two existing event payload assertions
  • keep the helper in the test module

Acceptance Criteria

  • the helper produces the correct expected payload struct for given inputs
  • at least two existing event tests are updated to use the helper
  • the helper is easier to read than the current inline construction

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

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