Skip to content

Verify that Welcome and Cancelation email methods have been called #50

@canyener

Description

@canyener

I'm mocking the sendgrid library but not verifying the email sending methods have been called in my endpoints.

Should I verify these methods?
POST /users -> sendWelcomeEmail should have been called (Not certain about this)
DELETE /users/me -> sendCancelationEmail should have been called (Not certain about this)

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededinvalidThis doesn't seem rightquestionFurther information is requested

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions