123456789101112131415161718192021222324252627 |
- 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)
- }))
- }
|