Skip to content

Add icon field support and unit tests for GoalController#113

Open
victordvr wants to merge 2 commits intofencer-so:mainfrom
victordvr:feature/icon
Open

Add icon field support and unit tests for GoalController#113
victordvr wants to merge 2 commits intofencer-so:mainfrom
victordvr:feature/icon

Conversation

@victordvr
Copy link

This pull request extends the Goal model to include an optional public Icon field of type string and updates the controller logic accordingly.

In addition, xUnit tests were implemented to cover the GetGoalsForUser route to ensure correct behaviour after the model extension.

Changes made:

  • Added optional Icon property to the Goal model.
  • Updated related controller logic to support the new field.
  • Implemented unit tests for GetGoalsForUser.

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