go-common/app/job/main/growup/service/combinemails_test.go
2019-04-22 18:49:16 +08:00

28 lines
506 B
Go

package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_CombineMailsByHTTP(t *testing.T) {
Convey("growup-job", t, WithService(func(s *Service) {
var (
year = 2018
month = 5
day = 16
)
err := s.CombineMailsByHTTP(context.Background(), year, month, day)
So(err, ShouldBeNil)
}))
}
func Test_CombineMails(t *testing.T) {
Convey("growup-job", t, WithService(func(s *Service) {
err := s.CombineMails()
So(err, ShouldBeNil)
}))
}