Skip to content

test: add unit tests for get_creator_info registration fields - #691

Merged
Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
Seunfunmi-319509:test/get-creator-info-view-677
Jul 29, 2026
Merged

test: add unit tests for get_creator_info registration fields#691
Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
Seunfunmi-319509:test/get-creator-info-view-677

Conversation

@Seunfunmi-319509

Copy link
Copy Markdown

Summary

Closes #677

This PR adds unit tests for the get_creator_info view to verify that it
returns all creator fields correctly immediately after creator registration.

Changes

  • Register a creator with a known display name and fee recipient
  • Call get_creator_info
  • Assert the returned display name matches the registered value
  • Assert the returned fee recipient matches the registered address
  • Assert total_supply is 0 after registration
  • Assert holder_count is 0 after registration
  • Assert registered_at is within 5 seconds of the test execution time

Validation

  • Display name matches the registered value
  • Fee recipient matches the registered address
  • Total supply is 0 at registration
  • Holder count is 0 at registration
  • registered_at is within 5 seconds of the test execution time

Notes

This PR adds test coverage only and does not modify contract behavior.

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Seunfunmi-319509 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 1cd98cb into accesslayerorg:main Jul 29, 2026
1 check passed
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.

Add unit tests for the get_creator_info view returning all creator fields correctly after registration

2 participants