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
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
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg