all repos

onasty @ 5495cb456caa00f4564d1c1eed06a766811debaf

a one-time notes service

onasty/e2e/mailer_mock_test.go(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package e2e_test

import (
	"context"

	"github.com/olexsmir/onasty/internal/events/mailermq"
)

var _ mailermq.Mailer = (*mailerMockService)(nil)

type mailerMockService struct{}

func newMailerMockService() *mailerMockService {
	return &mailerMockService{}
}

func (m mailerMockService) SendVerificationEmail(
	_ context.Context,
	_ mailermq.SendVerificationEmailRequest,
) error {
	return nil
}