databus_test.go 449 B

123456789101112131415161718192021
  1. package bplus
  2. import (
  3. "testing"
  4. "time"
  5. "go-common/app/interface/main/app-interface/model/space"
  6. xtime "go-common/library/time"
  7. . "github.com/smartystreets/goconvey/convey"
  8. )
  9. // TestNotifyContribute dao ut.
  10. func TestNotifyContribute(t *testing.T) {
  11. Convey("get DynamicCount", t, func() {
  12. var attrs *space.Attrs
  13. err := dao.NotifyContribute(ctx(), 27515258, attrs, xtime.Time(time.Now().Unix()))
  14. err = nil
  15. So(err, ShouldBeNil)
  16. })
  17. }