go-common/app/job/main/growup/service/data_test.go

19 lines
377 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_UpdateWithdraw(t *testing.T) {
Convey("growup-job UpdateWithdraw", t, WithService(func(s *Service) {
newDate, oldDate := "2018-01", "2018-02"
count := int64(0)
err := s.UpdateWithdraw(context.Background(), oldDate, newDate, count)
So(err, ShouldBeNil)
}))
}