Skip to content

Feature-#22-add-tests-to-mapUserListFromModelToApi #33

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patrixampm
Copy link
Collaborator

#Closed
Tests have been added to both mapUserListFromModelToApi and mapUserFromModelToApi.
Unit tests for mapUserFromModelToApi fail when user is null or undefined. Some sageguard could be added to the code.

patrixampm added 2 commits February 14, 2025 14:28

Verified

This commit was signed with the committer’s verified signature.
dunxen dunxen
… no safeguard for when db user is undefined or null.
@patrixampm patrixampm requested a review from manudous February 14, 2025 13:57
@patrixampm patrixampm self-assigned this Feb 14, 2025
@patrixampm patrixampm linked an issue Feb 14, 2025 that may be closed by this pull request
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 mapUserListFromModelToApi
1 participant