Continued e-mail support
This commit is contained in:
parent
6b46eb46e2
commit
f553cdb282
10 changed files with 132 additions and 10 deletions
|
@ -511,10 +511,10 @@ func TestServer_Curl_Publish_Poll(t *testing.T) {
|
|||
|
||||
type testMailer struct {
|
||||
count int
|
||||
mu sync.Mutex
|
||||
mu sync.Mutex
|
||||
}
|
||||
|
||||
func (t *testMailer) Send(to string, m *message) error {
|
||||
func (t *testMailer) Send(from, to string, m *message) error {
|
||||
t.mu.Lock()
|
||||
defer t.mu.Unlock()
|
||||
t.count++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue