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:
Go to backend repository.
Run the test cases using the 'npm run test' command.
You would then be notified of the passing and failing test cases.
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.
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:
Expected behaviour These 2 test cases should not be failing.
Screenshots