Skip to content

Comments

test(savings_goals): add event emission coverage for goal lifecycle o…#120

Open
OlaGreat wants to merge 1 commit intoRemitwise-Org:mainfrom
OlaGreat:savings_goal_test
Open

test(savings_goals): add event emission coverage for goal lifecycle o…#120
OlaGreat wants to merge 1 commit intoRemitwise-Org:mainfrom
OlaGreat:savings_goal_test

Conversation

@OlaGreat
Copy link

@OlaGreat OlaGreat commented Feb 22, 2026

Closes #67

Add event-emission test coverage for savings_goals goal lifecycle operations.

This change updates existing event tests to assert actual emitted event topics/data (not only event counts), and adds missing tests for:
FundsWithdrawn on withdraw_from_goal
GoalLocked on lock_goal
GoalUnlocked on unlock_goal
Also verifies:

GoalCreated on create_goal
FundsAdded on add_to_goal
GoalCompleted when current_amount >=target_amount

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 Tests for Savings Goals Event Emissions

1 participant