bilibili-backup/app/admin/ep/melloi/service/mail_test.go

21 lines
332 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
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)
})
}