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
As #82 wasn't ready yet, we did not use the email service in the password recovery method done in #113.
Regarding testing the password recovery request, we should:
Check that we do not send an email nor generate the token if the account does not exist.
Check that we generate and send the token if the account exists.
We can use mocks to confirm that functions are being called instead of sending actual emails.
Regarding testing the processing of the request part, additional tests should not be needed, but a refactor is necessary to receive the token for the test.
The text was updated successfully, but these errors were encountered:
As #82 wasn't ready yet, we did not use the email service in the password recovery method done in #113.
Regarding testing the password recovery request, we should:
We can use mocks to confirm that functions are being called instead of sending actual emails.
Regarding testing the processing of the request part, additional tests should not be needed, but a refactor is necessary to receive the token for the test.
The text was updated successfully, but these errors were encountered: