Skip to content

Added more tests #11

Merged
7maylord merged 3 commits into
devfrom
Olumide
Apr 28, 2025
Merged

Added more tests #11
7maylord merged 3 commits into
devfrom
Olumide

Conversation

@7maylord
Copy link
Copy Markdown
Collaborator

PR Summary: Enhanced Test Coverage for OrganizationContract

  1. testDefaultAdvanceLimitOnDeployment
  2. testRequestAdvanceWithMaxLimit
  3. test_RevertWhen_RequestZeroAdvance
  4. test_RevertWhen_NonRecipientRequestsAdvance
  5. test_RevertWhen_RequestAdvanceAboveDefaultLimit
  6. testRequestAdvanceEventEmission
  7. test_RevertWhen_RequestAdvanceAboveDefaultLimit

Test Coverage Impact

  • Improved coverage of advance request functionality
  • Added validation of default advance limit behavior
  • Enhanced event emission testing
  • Strengthened edge case handling

Key Improvements

  • Better validation of constructor-set default advance limit
  • More comprehensive testing of advance request constraints
  • Improved event emission verification
  • Better handling of edge cases around advance limits

@7maylord 7maylord merged commit c069610 into dev Apr 28, 2025
2 checks 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.

1 participant