Skip to content

Add icon support to Goal model, controller, and tests - #356

Open
Pandhari-404 wants to merge 1 commit into
fencer-so:mainfrom
Pandhari-404:add-goal-icon
Open

Add icon support to Goal model, controller, and tests#356
Pandhari-404 wants to merge 1 commit into
fencer-so:mainfrom
Pandhari-404:add-goal-icon

Conversation

@Pandhari-404

Copy link
Copy Markdown

Changes Made

  • Added an optional Icon field (string) to the Goal model to support emoji icons
  • Verified the API correctly returns and accepts the new icon field via Postman testing
  • Added a unit test (GetForUser) to cover the GetGoalsForUser route in GoalControllerTests.cs
  • Removed Secrets.json from version control and added it to .gitignore to protect sensitive credentials

Testing

  • All 11 unit tests pass (dotnet test)
  • Manually verified via Postman that the Goal API returns the icon field 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.

2 participants