You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
332 B
20 lines
332 B
package service |
|
|
|
import ( |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
var ( |
|
receiver = "hujianping" |
|
subject = "test of melloi" |
|
content = "this is test content" |
|
) |
|
|
|
func Test_Mail(t *testing.T) { |
|
Convey("test QueryOrder", t, func() { |
|
err := s.SendMail(receiver, subject, content) |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|