onasty/e2e/mailer_test.go (view raw)
| 1 | package e2e_test |
| 2 | |
| 3 | import ( |
| 4 | "context" |
| 5 | |
| 6 | "github.com/olexsmir/onasty/internal/events/mailermq" |
| 7 | ) |
| 8 | |
| 9 | var _ mailermq.Mailer = (*mailerMockService)(nil) |
| 10 | |
| 11 | type mailerMockService struct{} |
| 12 | |
| 13 | func newMailerMockService() *mailerMockService { |
| 14 | return &mailerMockService{} |
| 15 | } |
| 16 | |
| 17 | func (m mailerMockService) SendVerificationEmail( |
| 18 | _ context.Context, |
| 19 | _ mailermq.SendVerificationEmailRequest, |
| 20 | ) error { |
| 21 | return nil |
| 22 | } |