You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue focuses on implementing integration tests to verify that passwords are stored in a hashed format in the database when users are registered through the /api/users/signup endpoint. Ensuring that passwords are not stored in plain text is crucial for user data security.
Context
Password hashing is a critical aspect of securing user data. These tests will ensure that the application does not store passwords in plain text, and that the hashing process is correctly integrated with the user registration functionality. The tests will validate the entire flow from user input to data storage in the database.
Objectives
Implement integration tests for the /api/users/signup route to verify that passwords are hashed.
Ensure that plain text passwords are not stored in the database.
Verify that the stored passwords match the expected hash format (e.g., bcrypt).
Acceptance Criteria
The password stored in the database must not be in plain text.
The hashed password in the database must match the expected hash format.
The test should check the consistency and correctness of the password hashing process.
Tasks
Create and initialize a new working branch
Use the branch name following the conventions specified in the CONTRIBUTING.md guide.
Branch name format: test/issue-number-integration-password-hashing
Develop integration tests for the /api/users/signup route.
Ensure the tests verify that passwords are hashed before saving.
Check that the passwords are not stored in plain text in the database.
Write the commit message
Ensure the commit message follows the naming conventions as specified in the CONTRIBUTING.md guide.
Create the Pull Request
Ensure the Pull Request follows the naming and description conventions as specified in the CONTRIBUTING.md guide.
Summary
This issue focuses on implementing integration tests to verify that passwords are stored in a hashed format in the database when users are registered through the
/api/users/signup
endpoint. Ensuring that passwords are not stored in plain text is crucial for user data security.Context
Password hashing is a critical aspect of securing user data. These tests will ensure that the application does not store passwords in plain text, and that the hashing process is correctly integrated with the user registration functionality. The tests will validate the entire flow from user input to data storage in the database.
Objectives
/api/users/signup
route to verify that passwords are hashed.Acceptance Criteria
Tasks
test/issue-number-integration-password-hashing
/api/users/signup
route.Resources
UML Diagrams References
Branch Name
test/issue-number-integration-password-hashing
The text was updated successfully, but these errors were encountered: