Skip to content

Fix permission unit tests#75

Closed
bonnie57 wants to merge 1 commit intostoryprotocol:mainfrom
bonnie57:main
Closed

Fix permission unit tests#75
bonnie57 wants to merge 1 commit intostoryprotocol:mainfrom
bonnie57:main

Conversation

@bonnie57
Copy link
Contributor

@bonnie57 bonnie57 commented Jul 4, 2025

Description

Fix Permission module unit tests

  • Changed setPermission to set_permission for consistency.
  • Updated exception types and messages in tests for unregistered IP accounts, invalid signer addresses, and invalid recipient addresses.
  • Enhanced test coverage for successful transactions and failure scenarios with improved error handling.

- Changed `setPermission` to `set_permission` for consistency.
- Updated exception types and messages in tests for unregistered IP accounts, invalid signer addresses, and invalid recipient addresses.
- Enhanced test coverage for successful transactions and failure scenarios with improved error handling.
@bonnie57 bonnie57 changed the title Refactor permission tests to use updated method names and error handling Fix permission unit tests Jul 8, 2025
@bonnie57 bonnie57 requested a review from lucas2brh July 8, 2025 06:38
@bonnie57
Copy link
Contributor Author

bonnie57 commented Jul 8, 2025

Create another pr to refactor the permission test.

@bonnie57 bonnie57 closed this Jul 8, 2025
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.

1 participant