Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests added to mapUserFromApiToModel #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

patrixampm
Copy link
Collaborator

#Closed
I have added tests to mapUserFromApiToModel. Tests pass when a valid API user is passed to the mapper, but fails when user is null or undefined. Some safeguard could be added to the mapper function to prevent this.

@patrixampm patrixampm requested a review from manudous March 21, 2025 12:36
@patrixampm patrixampm self-assigned this Mar 21, 2025
@patrixampm patrixampm linked an issue Mar 21, 2025 that may be closed by this pull request
Copy link
Collaborator Author

@patrixampm patrixampm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes reviewed, and all correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add tests to mapUserFromApiToModel
1 participant