mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-29 13:49:28 +08:00
19 lines
357 B
Go
19 lines
357 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
|
||
|
}
|