all repos

onasty @ 040e38372994521cfeb76c57c76998be53bf6a17

a one-time notes service

onasty/e2e/mailer_test.go (view raw)

Smirnov Oleksandr Smirnov Oleksandr
ss2316544@gmail.com
feat: mailer service (#55)..., 1 year ago
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
}