Skip to content

test: add unauthorized withdraw coverage for creator-deposits#777

Merged
aji70 merged 1 commit intoMyFanss:mainfrom
dreamgeneX:issue-602-creator-deposits-unauthorized-withdraw-test
Apr 24, 2026
Merged

test: add unauthorized withdraw coverage for creator-deposits#777
aji70 merged 1 commit intoMyFanss:mainfrom
dreamgeneX:issue-602-creator-deposits-unauthorized-withdraw-test

Conversation

@dreamgeneX
Copy link
Copy Markdown

Summary

  • add unauthorized withdraw coverage for creator-deposits
  • clear mocked auth before withdraw so the real creator.require_auth() path is exercised
  • assert the withdraw attempt fails and the creator stake remains unchanged

Testing

  • cargo fmt
  • cargo test -p creator-deposits

Closes #602

@aji70 aji70 merged commit 6bd0f91 into MyFanss:main Apr 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creator-deposits: unauthorized withdraw test

2 participants