all repos

onasty @ 0430cad2d636c108d3b8536cd899c08817e297b7

a one-time notes service

onasty/e2e/mailer_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
}