You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
377 B
18 lines
377 B
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) |
|
})) |
|
}
|
|
|