Skip to content

Add integration test for the creator update endpoint persisting display name and bio changes #707

Description

@Chucks1093

Summary

Creators should be able to update their display name and bio after registration. An integration test should confirm updates persist correctly, that another wallet cannot update a creator's profile, and that empty string values are rejected.

Scope

  • PATCH the creator profile with a new display name and bio, assert 200 and changes persisted
  • Call the creator profile GET and assert the new values are returned
  • Authenticate as a different wallet and PATCH the creator's profile, assert 403
  • PATCH with an empty string display name and assert 422 with a validation error
  • Assert the original values are unchanged after both failed attempts

Acceptance Criteria

  • Display name and bio update and persist correctly
  • GET returns updated values after successful PATCH
  • Different wallet returns 403
  • Empty display name returns 422
  • Original values unchanged after failed attempts

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