Skip to content

Add goal icon support and GetForUser coverage - #317

Draft
Yannick-o1 wants to merge 2 commits into
fencer-so:mainfrom
Yannick-o1:agent/add-goal-icon
Draft

Add goal icon support and GetForUser coverage#317
Yannick-o1 wants to merge 2 commits into
fencer-so:mainfrom
Yannick-o1:agent/add-goal-icon

Conversation

@Yannick-o1

Copy link
Copy Markdown

Summary

  • add an optional Icon string property to the Goal model
  • cover the GetForUser controller route with xUnit assertions

Why

Goals need to carry an emoji icon through MongoDB and API responses. The controller test protects the user-specific goals route while this behavior is introduced.

User impact

Clients can read and write an icon on a goal without requiring the field on existing records.

Validation

  • dotnet test Server.sln --configuration Release
  • 11 tests passed, 0 failed

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