Skip to content

Fix all test cases for user routes #20

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

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

JawherKl
Copy link
Owner

This merge request resolves the issues with the user route test cases for PUT and DELETE endpoints. The following changes were made:

  1. Fixed the PUT test for updating user details by handling password hashing.
  2. Updated the DELETE test to handle invalid and non-existent user scenarios properly.
  3. Ensured that the tests now properly validate user data and return the correct responses for valid/invalid cases.

Related Issues:

  • Fixed invalid user ID input handling.
  • Addressed issues with password hashing in the update user route test.

Testing:

  • All tests for user routes (PUT and DELETE) are now passing successfully.

@JawherKl JawherKl merged commit aa5511d into main Dec 20, 2024
0 of 3 checks passed
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