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

19 lines
377 B
Go

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