Skip to content

Add icon field to Goal model and unit tests#117

Open
aarush-2002 wants to merge 2 commits intofencer-so:mainfrom
aarush-2002:main
Open

Add icon field to Goal model and unit tests#117
aarush-2002 wants to merge 2 commits intofencer-so:mainfrom
aarush-2002:main

Conversation

@aarush-2002
Copy link

Changes Made

Backend Changes:

  • Added optional Icon field (string type) to Goal model in CommBank-Server/Models/Goal.cs

Unit Tests:

  • Implemented unit test for GetGoalsForUser route in CommBank.Tests/GoalControllerTests.cs
  • Test verifies that goals are correctly returned for a specific user

Why:

  • Icons allow users to personalize their savings goals
  • Unit tests ensure the GetGoalsForUser endpoint works correctly

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