Skip to content

Add helper for building test requests with all required auth headers #403

@Chucks1093

Description

@Chucks1093

Summary
Integration tests that hit protected routes must manually construct auth headers each time, leading to repetitive setup code. A test helper that builds a complete authenticated request with the correct headers reduces boilerplate and keeps test setup consistent.

Scope

  • add a test helper that constructs an HTTP request with all required auth headers pre-populated
  • accept optional overrides for individual header values
  • apply the helper in at least two existing integration tests for protected routes

Acceptance Criteria

  • the helper produces a valid authenticated request for protected routes
  • individual headers can be overridden for negative test cases
  • at least two existing protected route tests are updated to use the helper

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