Skip to content

Commit

Permalink
code tidying up: get rid of unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirdulov authored and umputun committed Dec 11, 2023
1 parent 592a80c commit cea7aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions provider/sender/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package sender

import (
"time"

"github.com/go-pkgz/auth/logger"
"github.com/go-pkgz/email"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/sender/email_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestEmail_SendFailed(t *testing.T) {
require.NotNil(t, err, "failed to make smtp client")

p = EmailParams{Host: "127.0.0.1", Port: 225, From: "[email protected]", Subject: "subj", ContentType: "text/html",
TLS: true, InsecureSkipVerify: true}
TLS: true}
e = NewEmailClient(p, logger.Std)
err = e.Send("[email protected]", "some text")
require.NotNil(t, err)
Expand Down

0 comments on commit cea7aa2

Please sign in to comment.