Skip to content

User Registration 2st test case error: data and salt arguments required #19

@hsiangchunch

Description

@hsiangchunch

Description:

  • The user registration test fails with the error message "data and salt arguments required."
  • This occurs because the password hashing function is called without valid input during testing.
  • This is possibly due to incomplete configured mocks.

What should've been done:

  • Ensure that all required arguments are provided to the password hashing function
  • Verify that the function is correctly bypassed in tests to prevent dependency on actual password data.

Suggested Fix:

  • Adjust the test setup to properly mock the hashing function,
  • Ensuring that "data" (password) and "salt" arguments are consistently defined.

Priority: High
Status: In-progress
Expected time required to fix it: 1 day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions