I am testing my register and login API in laravel. I want to test the login endpoint in which first it should register a user using login endpoint. Once the registering endpoint is hit then the application sends a mail to the email address (used for registration). In the email, the user receives a mail including a URL which will redirect the user to a form asking to enter the password. How do I test the mail, the password change endpoint, and register?
Aucun commentaire:
Enregistrer un commentaire