codeuino / social-platform-donut-backend

Donut API:
http://donut-api-prod.codeuino.org/
GNU General Public License v3.0
24 stars 57 forks source link

Fix failing test cases in the user route. #152

Open AuraOfDivinity opened 4 years ago

AuraOfDivinity commented 4 years ago

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

ksraj123 commented 4 years ago

Fixed in #160