social-platform-donut-backend icon indicating copy to clipboard operation
social-platform-donut-backend copied to clipboard

Fix failing test cases in the user route.

Open AuraOfDivinity opened this issue 4 years ago • 1 comments

Describe the bug There are few test cases within the user route that are failing due to recent modifications done to the backend. Investigate these test cases and fix them as necessary so that they are no longer failing.

To Reproduce Steps to reproduce the behaviour:

  1. Go to backend repository.
  2. Run the test cases using the 'npm run test' command.
  3. You would then be notified of the passing and failing test cases.
  4. You'll notice that 2 test cases related to updating password in the user route are failing.

Expected behaviour These 2 test cases should not be failing.

Screenshots image

AuraOfDivinity avatar Jul 15 '20 18:07 AuraOfDivinity

Fixed in #160

ksraj123 avatar Jul 30 '20 08:07 ksraj123