bilibili-backup/app/job/main/growup/service/income/charge_ratio_test.go

23 lines
435 B
Go
Raw Permalink Normal View History

2019-04-22 10:59:20 +08:00
package income
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_AvChargeRatio(t *testing.T) {
Convey("AvChargeRatio", t, func() {
_, err := s.ratio.ArchiveChargeRatio(context.Background(), 10)
So(err, ShouldBeNil)
})
}
func Test_UpChargeRatio(t *testing.T) {
Convey("UpChargeRatio", t, func() {
_, err := s.ratio.UpChargeRatio(context.Background(), 10)
So(err, ShouldBeNil)
})
}