Skip to content

Add integration test for creator route with malformed wallet address param #299

@aniokedianne

Description

@aniokedianne

Summary
The creator route param validation middleware exists, but there is no integration test that sends a malformed wallet address and asserts the correct rejection response. A test for this path confirms the middleware is wired up and returns the right status and error shape.

Scope

  • add an integration test that sends a creator route request with a malformed wallet address param
  • assert the response is a 400 with the expected error shape
  • test at least two malformed variants such as wrong length and invalid characters

Acceptance Criteria

  • a malformed wallet address param returns a 400 response
  • the error body matches the standard error shape
  • a valid wallet address param is unaffected

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