Mainflux.mainflux/users/mocks/email.go

21 lines
362 B
Go

// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0
package mocks
import (
"github.com/mainflux/mainflux/users"
)
type emailerMock struct {
}
// NewEmailer provides emailer instance for the test
func NewEmailer() users.Emailer {
return &emailerMock{}
}
func (e *emailerMock) SendPasswordReset([]string, string, string) error {
return nil
}